diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3c5b1e..c0aaa97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: strategy: matrix: target: - - wasm32-wasi + - wasm32-wasip1 - thumbv6m-none-eabi - thumbv7em-none-eabihf steps: diff --git a/Cargo.lock b/Cargo.lock index 195723b..b2cea80 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,16 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 - -[[package]] -name = "ff" -version = "0.14.0-pre.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d42dd26f5790eda47c1a2158ea4120e32c35ddc9a7743c98a292accc01b54ef3" -dependencies = [ - "rand_core", - "subtle", -] +version = 4 [[package]] name = "memuse" @@ -19,57 +9,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d97bbf43eb4f088f8ca469930cde17fa036207c9a5e02ccc5107c4e8b17c964" [[package]] -name = "proc-macro2" -version = "1.0.95" +name = "rand" +version = "0.10.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "be866deebbade98028b705499827ad6967c8bb1e21f96a2609913c8c076e9307" dependencies = [ - "unicode-ident", + "rand_core", ] [[package]] -name = "quote" -version = "1.0.40" +name = "rand_core" +version = "0.10.0-rc-2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" -dependencies = [ - "proc-macro2", -] +checksum = "104a23e4e8b77312a823b6b5613edbac78397e2f34320bc7ac4277013ec4478e" [[package]] -name = "rand" -version = "0.9.0" +name = "rand_xorshift" +version = "0.5.0-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" +checksum = "436a253927905fba96fc027756937b9d20e8e654e2622a6192a8037c3340dc35" dependencies = [ "rand_core", - "zerocopy", ] [[package]] -name = "rand_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" - -[[package]] -name = "rand_xorshift" -version = "0.4.0" +name = "rustcrypto-ff" +version = "0.14.0-pre.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +checksum = "aa9cd37111549306f79b09aa2618e15b1e8241b7178c286821e3dd71579db4db" dependencies = [ "rand_core", + "subtle", ] [[package]] name = "rustcrypto-group" version = "0.14.0-pre" dependencies = [ - "ff", "memuse", "rand", "rand_core", "rand_xorshift", + "rustcrypto-ff", "subtle", ] @@ -78,40 +59,3 @@ name = "subtle" version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "syn" -version = "2.0.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "unicode-ident" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" - -[[package]] -name = "zerocopy" -version = "0.8.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] diff --git a/Cargo.toml b/Cargo.toml index b954b3c..a276aad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ authors = [ "Jack Grigg ", ] edition = "2021" -rust-version = "1.63" +rust-version = "1.85" readme = "README.md" license = "MIT/Apache-2.0" @@ -16,10 +16,10 @@ homepage = "https://github.com/RustCrypto/group" repository = "https://github.com/RustCrypto/group" [dependencies] -ff = { version = "=0.14.0-pre.0", default-features = false } -rand = { version = "0.9", optional = true, default-features = false } -rand_core = { version = "0.9", default-features = false } -rand_xorshift = { version = "0.4", optional = true } +ff = { version = "=0.14.0-pre.0", package = "rustcrypto-ff", default-features = false } +rand = { version = "0.10.0-rc.1", optional = true, default-features = false } +rand_core = { version = "0.10.0-rc-2", default-features = false } +rand_xorshift = { version = "0.5.0-rc.0", optional = true } subtle = { version = "2.2.1", default-features = false } # Crate for exposing the dynamic memory usage of the w-NAF structs. diff --git a/README.md b/README.md index 1c4c3cc..c3b4dc0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ wider discussion. ## Minimum Supported Rust Version -Requires Rust **1.63** or higher. +Requires Rust **1.85** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 3eebdfe..e22c344 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.63.0" -components = [ "clippy", "rustfmt" ] +channel = "1.85.0" +components = ["clippy", "rustfmt"]