kdl-rs/Cargo.toml

50 lines
1.3 KiB
TOML

[package]
name = "kdl"
version = "6.5.0"
description = "Document-oriented KDL parser and API. Allows formatting/whitespace/comment-preserving parsing and modification of KDL text."
authors = ["Kat Marchán <kzm@zkat.tech>", "KDL Community"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://kdl.dev"
repository = "https://github.com/kdl-org/kdl-rs"
keywords = ["kdl", "document", "serialization", "config"]
rust-version = "1.96"
edition = "2021"
[features]
default = ["span", "serde"]
span = []
v1-fallback = ["v1"]
v1 = ["kdlv1"]
[workspace]
members = ["tools/*"]
[dependencies]
miette.workspace = true
num = "0.4.2"
serde = { version = "1.0.210", optional = true }
winnow = { version = "0.7.13", features = ["alloc", "unstable-recover"] }
kdlv1 = { package = "kdl", version = "4.7.0", optional = true }
[workspace.dependencies]
miette = { version = "7.6.0", default-features = false }
[dev-dependencies]
miette = { workspace = true, features = ["derive", "fancy"] }
thiserror = "2.0.12"
pretty_assertions = "1.3.0"
serde = { version = "1.0.210", features = ["derive"] }
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]