Cargo Features
libyang3-sys has no features set by default.
[dependencies]
libyang3-sys = { version = "0.2.0", features = ["bindgen", "bundled"] }
- default
-
Use pre-generated FFI bindings
- bindgen build
-
Generate FFI bindings dynamically.
For this to work libyang3 needs to be installed in the system.Enables bindgen ^0.68.0
- bundled build
-
Bundle libyang3 C files into a static archive linked to this crate.
This removes the libyang3 dynamic link dependency.