You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Provide high-level bindings for libyang2 using idiomatic Rust
34
+
* Provide high-level bindings for libyang using idiomatic Rust
35
35
* Leverage Rust's ownership system to detect API misuse problems at compile time
36
36
* Automatic resource management
37
37
* Zero-cost abstractions
38
38
39
39
## Feature flags
40
-
By default, yang2-rs uses pre-generated FFI bindings and uses dynamic linking to load libyang2. The following feature flags, however, can be used to change that behavior:
41
-
***bundled**: instructs cargo to download and build libyang2 from the sources. The resulting objects are grouped into a static archive linked to this crate. This feature can be used when having a libyang2 dynamic link dependency isn't desirable.
40
+
By default, yang-rs uses pre-generated FFI bindings and uses dynamic linking to load libyang. The following feature flags, however, can be used to change that behavior:
41
+
***bundled**: instructs cargo to download and build libyang from the sources. The resulting objects are grouped into a static archive linked to this crate. This feature can be used when having a libyang dynamic link dependency isn't desirable.
42
42
* Additional build requirements: *cc 1.0*, *cmake 0.1*, a C compiler and CMake.
43
-
***use_bindgen**: generate new C FFI bindings dynamically instead of using the pre-generated ones. Useful when updating this crate to use newer libyang2 versions.
43
+
***use_bindgen**: generate new C FFI bindings dynamically instead of using the pre-generated ones. Useful when updating this crate to use newer libyang versions.
0 commit comments