yang5 0.1.0

libyang5 bindings for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "yang5"
version = "0.1.0"
authors = ["Renato Westphal <renato@opensourcerouting.org>"]
build = false
exclude = ["assets/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "libyang5 bindings for Rust"
documentation = "https://docs.rs/yang5"
readme = "README.md"
keywords = [
    "yang",
    "libyang",
]
categories = ["parser-implementations"]
license = "MIT"
repository = "https://github.com/holo-routing/yang-rs"

[features]
bindgen = ["libyang5-sys/bindgen"]
bundled = ["libyang5-sys/bundled"]
default = []

[lib]
name = "yang5"
path = "src/lib.rs"

[[example]]
name = "data_diff"
path = "examples/data_diff.rs"

[[example]]
name = "data_edit"
path = "examples/data_edit.rs"

[[example]]
name = "data_iteration"
path = "examples/data_iteration.rs"

[[example]]
name = "data_json2xml"
path = "examples/data_json2xml.rs"

[[example]]
name = "logging"
path = "examples/logging.rs"

[[example]]
name = "schema_imports"
path = "examples/schema_imports.rs"

[[example]]
name = "schema_iteration"
path = "examples/schema_iteration.rs"

[[example]]
name = "schema_yang2yin"
path = "examples/schema_yang2yin.rs"

[[test]]
name = "data"
path = "tests/data.rs"

[[test]]
name = "schema"
path = "tests/schema.rs"

[[bench]]
name = "data"
path = "benches/data.rs"
harness = false

[dependencies.bitflags]
version = "2.9"

[dependencies.libyang5-sys]
version = "0.1.0"

[dependencies.log]
version = "0.4"

[dependencies.num-derive]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.env_logger]
version = "0.11.8"

[target."cfg(windows)".dependencies.libc]
version = "0.2"

[lints.clippy]
missing_safety_doc = "allow"
too_long_first_doc_paragraph = "allow"

[lints.rust]
rust_2018_idioms = "warn"