From 65122a5a97a9045e8ef7a2baed7c61e75ea36e82 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Tue, 25 Aug 2020 19:14:57 +0200 Subject: [PATCH] PATCH: version on OSTREE_SIGN_NAME_ED25519 --- rust-bindings/rust/gir-files/OSTree-1.0.gir | 3 ++- rust-bindings/rust/src/auto/constants.rs | 1 + rust-bindings/rust/src/auto/mod.rs | 1 + rust-bindings/rust/src/auto/versions.txt | 2 +- rust-bindings/rust/sys/src/auto/versions.txt | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rust-bindings/rust/gir-files/OSTree-1.0.gir b/rust-bindings/rust/gir-files/OSTree-1.0.gir index 7d22c5eb..41dab726 100644 --- a/rust-bindings/rust/gir-files/OSTree-1.0.gir +++ b/rust-bindings/rust/gir-files/OSTree-1.0.gir @@ -13452,7 +13452,8 @@ in bytes, counting only content objects. + c:type="OSTREE_SIGN_NAME_ED25519" + version="2020.4"> The name of the default ed25519 signing type. diff --git a/rust-bindings/rust/src/auto/constants.rs b/rust-bindings/rust/src/auto/constants.rs index 8ce3e23a..8e6ebd4f 100644 --- a/rust-bindings/rust/src/auto/constants.rs +++ b/rust-bindings/rust/src/auto/constants.rs @@ -28,6 +28,7 @@ pub static META_KEY_DEPLOY_COLLECTION_ID: once_cell::sync::Lazy<&'static str> = pub static ORIGIN_TRANSIENT_GROUP: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_ORIGIN_TRANSIENT_GROUP).to_str().unwrap()}); #[cfg(any(feature = "v2018_6", feature = "dox"))] pub static REPO_METADATA_REF: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_REPO_METADATA_REF).to_str().unwrap()}); +#[cfg(any(feature = "v2020_4", feature = "dox"))] pub static SIGN_NAME_ED25519: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_SIGN_NAME_ED25519).to_str().unwrap()}); pub static SUMMARY_GVARIANT_STRING: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_SUMMARY_GVARIANT_STRING).to_str().unwrap()}); pub static SUMMARY_SIG_GVARIANT_STRING: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_SUMMARY_SIG_GVARIANT_STRING).to_str().unwrap()}); diff --git a/rust-bindings/rust/src/auto/mod.rs b/rust-bindings/rust/src/auto/mod.rs index 796b21e4..64123ae8 100644 --- a/rust-bindings/rust/src/auto/mod.rs +++ b/rust-bindings/rust/src/auto/mod.rs @@ -158,6 +158,7 @@ pub use self::constants::META_KEY_DEPLOY_COLLECTION_ID; pub use self::constants::ORIGIN_TRANSIENT_GROUP; #[cfg(any(feature = "v2018_6", feature = "dox"))] pub use self::constants::REPO_METADATA_REF; +#[cfg(any(feature = "v2020_4", feature = "dox"))] pub use self::constants::SIGN_NAME_ED25519; pub use self::constants::SUMMARY_GVARIANT_STRING; pub use self::constants::SUMMARY_SIG_GVARIANT_STRING; diff --git a/rust-bindings/rust/src/auto/versions.txt b/rust-bindings/rust/src/auto/versions.txt index ff33bb3e..e425b4d9 100644 --- a/rust-bindings/rust/src/auto/versions.txt +++ b/rust-bindings/rust/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1) -from gir-files (https://github.com/gtk-rs/gir-files @ b1a822b+) +from gir-files (https://github.com/gtk-rs/gir-files @ b1bed0a+) diff --git a/rust-bindings/rust/sys/src/auto/versions.txt b/rust-bindings/rust/sys/src/auto/versions.txt index ff33bb3e..e425b4d9 100644 --- a/rust-bindings/rust/sys/src/auto/versions.txt +++ b/rust-bindings/rust/sys/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1) -from gir-files (https://github.com/gtk-rs/gir-files @ b1a822b+) +from gir-files (https://github.com/gtk-rs/gir-files @ b1bed0a+)