[package]
edition = "2024"
name = "tanzim-parse"
version = "0.13.0"
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"../../LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parse configuration bytes into tanzim-value trees"
homepage = "https://crates.io/crates/tanzim-parse"
documentation = "https://docs.rs/tanzim-parse"
readme = "README.md"
keywords = [
"config",
"parser",
"json",
"yaml",
"toml",
]
categories = [
"config",
"parser-implementations",
]
license = "BSD-3-Clause"
repository = "https://github.com/pouriya/tanzim"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["env"]
env = []
full = [
"env",
"json",
"yaml",
"toml",
]
json = ["dep:spanned_json_parser"]
logging = ["dep:log"]
toml = ["dep:toml_edit"]
tracing = ["dep:tracing"]
yaml = ["dep:saphyr"]
[lib]
name = "tanzim_parse"
path = "src/lib.rs"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.log]
version = "0.4.20"
optional = true
[dependencies.saphyr]
version = "0.0.6"
optional = true
[dependencies.spanned_json_parser]
version = "0.2"
optional = true
[dependencies.tanzim-source]
version = "0.5.0"
[dependencies.tanzim-value]
version = "0.7.0"
[dependencies.toml_edit]
version = "0.22"
optional = true
[dependencies.tracing]
version = "0.1.40"
optional = true