docs.rs failed to build yang2-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
yang2-0.18.1
yang2-rs
Rust bindings for the libyang2 library.
For raw FFI bindings for libyang2, see libyang2-sys.
Cargo.toml
[]
= "0.1"
Design Goals
- Provide high-level bindings for libyang2 using idiomatic Rust
- Leverage Rust's ownership system to detect API misuse problems at compile time
- Automatic resource management
- Zero-cost abstractions
Example
A basic example that parses and validates JSON instance data, and then converts it to the XML format:
use File;
use ;
use ;
static SEARCH_DIR: &str = "./assets/yang/";
More examples can be found here.
License
This project is licensed under the MIT license.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/rwestphal/yang2-rs.