organic/Cargo.toml

50 lines
1.5 KiB
TOML
Raw Normal View History

2022-07-16 03:26:49 +00:00
[package]
2023-07-14 02:32:56 +00:00
name = "organic"
version = "0.1.2"
2023-07-28 00:57:29 +00:00
authors = ["Tom Alexander <tom@fizz.buzz>"]
description = "An org-mode parser."
2022-07-16 03:26:49 +00:00
edition = "2021"
2022-07-17 22:45:51 +00:00
license = "0BSD"
2023-07-28 00:57:29 +00:00
repository = "https://code.fizz.buzz/talexander/organic"
readme = "README.md"
2023-07-28 00:57:29 +00:00
keywords = ["emacs", "org-mode"]
2023-07-28 01:19:36 +00:00
categories = ["parsing"]
2023-08-11 00:01:00 +00:00
resolver = "2"
include = [
"LICENSE",
"**/*.rs",
"Cargo.toml",
"tests/*"
]
2022-07-16 03:26:49 +00:00
[lib]
name = "organic"
path = "src/lib.rs"
[[bin]]
# This bin exists for development purposes only. The real target of this crate is the library.
name = "compare"
path = "src/main.rs"
2022-07-16 03:26:49 +00:00
[dependencies]
nom = "7.1.1"
opentelemetry = { version = "0.20.0", optional = true, default-features = false, features = ["trace", "rt-tokio"] }
opentelemetry-otlp = { version = "0.13.0", optional = true }
opentelemetry-semantic-conventions = { version = "0.12.0", optional = true }
tokio = { version = "1.30.0", optional = true, default-features = false, features = ["rt", "rt-multi-thread"] }
2023-08-11 00:01:00 +00:00
tracing = { version = "0.1.37", optional = true }
tracing-opentelemetry = { version = "0.20.0", optional = true }
tracing-subscriber = { version = "0.3.17", optional = true, features = ["env-filter"] }
2022-07-16 03:26:49 +00:00
[build-dependencies]
walkdir = "2.3.3"
2022-07-16 03:26:49 +00:00
[features]
2023-08-11 00:01:00 +00:00
default = ["compare", "tracing"]
2023-04-10 17:38:31 +00:00
compare = []
tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tokio", "dep:tracing", "dep:tracing-opentelemetry", "dep:tracing-subscriber"]
[profile.release]
lto = true
strip = "symbols"