From 91c1e1a940c26b347dff5691ed9d71ee09915740 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Fri, 26 Apr 2024 19:44:41 -0300 Subject: [PATCH] Bump yang2 and libyang2-sys Signed-off-by: Renato Westphal --- Cargo.toml | 4 ++-- README.md | 4 ++-- libyang2-sys/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a2403a..b3d936b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yang2" -version = "0.9.1" +version = "0.10.0" authors = ["Renato Westphal "] description = "libyang2 bindings for Rust" keywords = ["yang", "libyang"] @@ -13,7 +13,7 @@ categories = ["parser-implementations"] exclude = ["assets/**"] [dependencies] -libyang2-sys = { path = "libyang2-sys", version = "0.8.0" } +libyang2-sys = { path = "libyang2-sys", version = "0.9.0" } bitflags = "2.5" num-traits = "0.2" num-derive = "0.4" diff --git a/README.md b/README.md index 3c108f5..d04f955 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ For raw FFI bindings for libyang2, see [libyang2-sys]. ```toml [dependencies] -yang2 = "0.9" +yang2 = "0.10" ``` ## Design Goals * Provide high-level bindings for libyang2 using idiomatic Rust @@ -41,7 +41,7 @@ By default, yang2-rs uses pre-generated FFI bindings and uses dynamic linking to * **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. * Additional build requirements: *cc 1.0*, *cmake 0.1*, a C compiler and CMake. * **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. - * Additional build requirements: *bindgen 0.55.0* + * Additional build requirements: *bindgen 0.68.0* ## Example diff --git a/libyang2-sys/Cargo.toml b/libyang2-sys/Cargo.toml index cbb2c1e..2e5f59f 100644 --- a/libyang2-sys/Cargo.toml +++ b/libyang2-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libyang2-sys" -version = "0.8.0" +version = "0.9.0" authors = ["Renato Westphal "] description = "Raw FFI bindings for libyang2" keywords = ["yang", "libyang"]