[package]
edition = "2024"
name = "libyang"
version = "1.0.0"
authors = ["Kunihiro Ishiguro <kunihiro@zebra.rs>"]
build = "build.rs"
exclude = ["/.github/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "YANG parser in Rust"
documentation = "https://docs.rs/libyang"
readme = "README.md"
keywords = [
"yang",
"parser",
"networking",
"ietf",
]
categories = ["parser-implementations"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zebra-rs/libyang"
[lib]
name = "libyang"
path = "src/lib.rs"
[[test]]
name = "augment"
path = "tests/augment.rs"
[[test]]
name = "choice_flatten"
path = "tests/choice_flatten.rs"
[[test]]
name = "leafref_path"
path = "tests/leafref_path.rs"
[[test]]
name = "parse_yang"
path = "tests/parse_yang.rs"
[[test]]
name = "union_inline_arms"
path = "tests/union_inline_arms.rs"
[[test]]
name = "unquoted_strings"
path = "tests/unquoted_strings.rs"
[dependencies.anyhow]
version = "1"
[dependencies.env_logger]
version = "0.11"
[dependencies.parol_runtime]
version = "0.24"
features = ["auto_generation"]
[dependencies.thiserror]
version = "1"
[build-dependencies.parol]
version = "0.31"
[build-dependencies.parol_runtime]
version = "0.24"
features = ["auto_generation"]
[profile.dev.build-override]
opt-level = 3
[profile.release.build-override]
opt-level = 3