# 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 = "yang2" version = "0.15.0" authors = ["Renato Westphal "] build = false exclude = ["assets/**"] autobins = false autoexamples = false autotests = false autobenches = false description = "libyang2 bindings for Rust" documentation = "https://docs.rs/yang2" readme = "README.md" keywords = [ "yang", "libyang", ] categories = ["parser-implementations"] license = "MIT" repository = "https://github.com/holo-routing/yang2-rs" [lib] name = "yang2" 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 = "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.5" [dependencies.libyang2-sys] version = "0.9.0" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dev-dependencies.criterion] version = "0.3.3" [features] bundled = ["libyang2-sys/bundled"] default = [] use_bindgen = ["libyang2-sys/use_bindgen"] [lints.clippy] missing_safety_doc = "allow" [lints.rust] rust_2018_idioms = "warn"