[package]
edition = "2024"
name = "libyang"
version = "1.1.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 = "config_value"
path = "tests/config_value.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 = "4"
[dependencies.scnr2]
version = "0.5"
[dependencies.thiserror]
version = "2"
[build-dependencies.parol]
version = "4"
[build-dependencies.parol_runtime]
version = "4"
[profile.dev.build-override]
opt-level = 3
[profile.release.build-override]
opt-level = 3