diff --git a/CHANGELOG.md b/CHANGELOG.md index e00b574..9f56bb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -354,3 +354,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - LICENSE committed - CODE_OF_CONDUCT.md committed - Initial commit + diff --git a/bindings/ffi/Cargo.toml b/bindings/ffi/Cargo.toml index e0e2312..7070630 100644 --- a/bindings/ffi/Cargo.toml +++ b/bindings/ffi/Cargo.toml @@ -21,4 +21,4 @@ custom_allocator = [] [build-dependencies] cbindgen = "0.26.0" -csbindgen = "1.9.0" +csbindgen = "=1.9.0" diff --git a/src/builtins/uuid.rs b/src/builtins/uuid.rs index 92c337e..8fb8aed 100644 --- a/src/builtins/uuid.rs +++ b/src/builtins/uuid.rs @@ -121,6 +121,7 @@ fn timestamp(uuid: &Uuid) -> Option { // https://github.com/uuid-rs/uuid/blob/94ecea893fadac93248f1bd6f47673c09cec5912/src/lib.rs#L900-L904 if uuid.get_version_num() == 2 { let (ticks, counter) = decode_rfc4122_timestamp(uuid); + #[allow(deprecated)] return Some(Timestamp::from_rfc4122(ticks, counter)); }