From f586e499159425b774c3391ebd61088aa06a0df6 Mon Sep 17 00:00:00 2001 From: Ali Farhadi Date: Mon, 3 Jul 2023 13:11:27 +0200 Subject: [PATCH] Update rustler to support OTP 26 --- .github/workflows/main.yml | 4 ++-- native/xxh3/Cargo.lock | 26 +++++++++++++------------- native/xxh3/Cargo.toml | 4 ++-- src/xxh3.app.src | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3deb3f..e66da3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ jobs: strategy: matrix: - otp: [21, 22, 23, 24, 25] - rust: [1.47.0, stable] + otp: [21, 22, 23, 24, 25, 26] + rust: [1.56.0, stable] container: image: erlang:${{matrix.otp}} diff --git a/native/xxh3/Cargo.lock b/native/xxh3/Cargo.lock index 04690c6..72ce2d1 100644 --- a/native/xxh3/Cargo.lock +++ b/native/xxh3/Cargo.lock @@ -31,18 +31,18 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "proc-macro2" -version = "1.0.47" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" +checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.21" +version = "1.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" dependencies = [ "proc-macro2", ] @@ -66,9 +66,9 @@ checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "rustler" -version = "0.26.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61e8ddf75de20513455d7b6f17241a595abbb01b53a6340cecc798a1b13422d" +checksum = "0884cb623b9f43d3e2c51f9071c5e96a5acf3e6e6007866812884ff0cb983f1e" dependencies = [ "lazy_static", "rustler_codegen", @@ -77,9 +77,9 @@ dependencies = [ [[package]] name = "rustler_codegen" -version = "0.26.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa2e45c0165272070f80ce93bcd7dd5407a3c84a1ef73ab9900e00f00ef3d36" +checksum = "50e277af754f2560cf4c4ebedb68c1a735292fb354505c6133e47ec406e699cf" dependencies = [ "heck", "proc-macro2", @@ -89,9 +89,9 @@ dependencies = [ [[package]] name = "rustler_sys" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff26a42e62d538f82913dd34f60105ecfdffbdb25abdc3c3580b0c622285332" +checksum = "0b311902a5c224452d0d8e1821a4b682d43f58248a2c559f613a7b52e0980075" dependencies = [ "regex", "unreachable", @@ -99,9 +99,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.105" +version = "2.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" +checksum = "59fb7d6d8281a51045d62b8eb3a7d1ce347b76f312af50cd3dc0af39c87c1737" dependencies = [ "proc-macro2", "quote", @@ -131,7 +131,7 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "xxh3" -version = "0.3.3" +version = "0.3.4" dependencies = [ "rustler", "xxhash-rust", diff --git a/native/xxh3/Cargo.toml b/native/xxh3/Cargo.toml index 5b63447..e91c82f 100644 --- a/native/xxh3/Cargo.toml +++ b/native/xxh3/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xxh3" -version = "0.3.3" +version = "0.3.4" authors = [] edition = "2018" @@ -10,5 +10,5 @@ path = "src/lib.rs" crate-type = ["dylib"] [dependencies] -rustler = "0.26.0" +rustler = "0.29.1" xxhash-rust = { version = "0.8.6", features = ["xxh3"] } diff --git a/src/xxh3.app.src b/src/xxh3.app.src index 1ea0dd6..5d0ed37 100644 --- a/src/xxh3.app.src +++ b/src/xxh3.app.src @@ -1,6 +1,6 @@ {application, xxh3, [ {description, "NIF bindings for XXH3 hash functions implemented in Rust"}, - {vsn, "0.3.3"}, + {vsn, "0.3.4"}, {registered, []}, {applications, [ kernel,