Cargo Features

yang3 has no features set by default.

[dependencies]
yang3 = { version = "0.7.0", features = ["bindgen", "bundled"] }
bindgen

Enables bindgen of libyang3-sys

libyang3-sys:

Generate FFI bindings dynamically.
For this to work libyang3 needs to be installed in the system.

bundled

Enables bundled of libyang3-sys

libyang3-sys:

Bundle libyang3 C files into a static archive linked to this crate.
This removes the libyang3 dynamic link dependency.

yang3 has 2 features without comments.