diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0d2e4fad..de77c8c9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -91,6 +91,99 @@ jobs: cargo +1.89 install cargo-machete --version =0.8.0 cargo +1.89 machete + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + - name: Verify claimed `rust-version` + shell: bash + run: | + cargo +1.89 install cargo-msrv --version =0.18.4 + + function check_msrv { + # We `cd` into the directory passed as the first argument, but will return to the + # directory called from. + return_to=$(pwd) + echo "Checking $1" + cd $1 + + # We then find the existing `rust-version` using `grep` (for the right line) and then a + # regex (to strip to just the major and minor version). + existing=$(cat ./Cargo.toml | grep "rust-version" | grep -Eo "[0-9]+\.[0-9]+") + + # We then backup the `Cargo.toml`, allowing us to restore it after, saving time on future + # MSRV checks (as they'll benefit from immediately exiting if the queried version is less + # than the declared MSRV). + mv ./Cargo.toml ./Cargo.toml.bak + + # We then use an inverted (`-v`) grep to remove the existing `rust-version` from the + # `Cargo.toml`, as required because else earlier versions of Rust won't even attempt to + # compile this crate. + cat ./Cargo.toml.bak | grep -v "rust-version" > Cargo.toml + + # We then find the actual `rust-version` using `cargo-msrv` (again stripping to just the + # major and minor version). + actual=$(cargo msrv find --output-format minimal | grep -Eo "^[0-9]+\.[0-9]+") + + # Finally, we compare the two. + echo "Declared rust-version: $existing" + echo "Actual rust-version: $actual" + [ $existing == $actual ] + result=$? + + # Restore the original `Cargo.toml`. + rm Cargo.toml + mv ./Cargo.toml.bak ./Cargo.toml + + # Return to the directory called from and return the result. + cd $return_to + return $result + } + + # Check each member of the workspace + function check_workspace { + # Get the members array from the workspace's `Cargo.toml` + cargo_toml_lines=$(cat ./Cargo.toml | wc -l) + members=$(cat Cargo.toml | grep "members\ \=\ \[" -m1 -A$cargo_toml_lines | grep "]" -m1 -B$cargo_toml_lines) + # Parse out any comments, including comments post-fixed on the same line as an entry + members=$(echo "$members" | grep -Ev "^[[:space:]]+#" | grep -Ev "^[[:space:]]?$" | awk -F',' '{print $1","}') + # Prune `members = [` to `[` by replacing the first line with just `[` + members=$(echo "$members" | sed "1s/.*/\[/") + # Remove the trailing comma by replacing the last line's "," with "" + members=$(echo "$members" | sed "$(($(echo "$members" | wc -l) - 1))s/\,//") + # Correct the last line, which was malleated to "]," when pruning comments + members=$(echo "$members" | sed "$(echo "$members" | wc -l)s/\]\,/\]/") + + # Don't check the patches + members=$(echo "$members" | grep -v "patches") + # Don't check the following + # Most of these are binaries, with the exception of the Substrate runtime which has a + # bespoke build pipeline + members=$(echo "$members" | grep -v "networks/ethereum/relayer\"") + members=$(echo "$members" | grep -v "message-queue\"") + members=$(echo "$members" | grep -v "processor/bin\"") + members=$(echo "$members" | grep -v "processor/bitcoin\"") + members=$(echo "$members" | grep -v "processor/ethereum\"") + members=$(echo "$members" | grep -v "processor/monero\"") + members=$(echo "$members" | grep -v "coordinator\"") + members=$(echo "$members" | grep -v "substrate/runtime\"") + members=$(echo "$members" | grep -v "substrate/node\"") + members=$(echo "$members" | grep -v "orchestration\"") + + # Don't check the tests + members=$(echo "$members" | grep -v "mini\"") + members=$(echo "$members" | grep -v "tests/") + + echo $members | jq -r ".[]" | while read -r member; do + check_msrv $member + correct=$? + if [ $correct -ne 0 ]; then + return $correct + fi + done + } + check_workspace + slither: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml deleted file mode 100644 index acf0eb32..00000000 --- a/.github/workflows/msrv.yml +++ /dev/null @@ -1,259 +0,0 @@ -name: Weekly MSRV Check - -on: - schedule: - - cron: "0 0 * * 0" - workflow_dispatch: - -jobs: - msrv-common: - name: Run cargo msrv on common - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on common - run: | - cargo msrv verify --manifest-path common/zalloc/Cargo.toml - cargo msrv verify --manifest-path common/std-shims/Cargo.toml - cargo msrv verify --manifest-path common/env/Cargo.toml - cargo msrv verify --manifest-path common/db/Cargo.toml - cargo msrv verify --manifest-path common/task/Cargo.toml - cargo msrv verify --manifest-path common/request/Cargo.toml - cargo msrv verify --manifest-path common/patchable-async-sleep/Cargo.toml - - msrv-crypto: - name: Run cargo msrv on crypto - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on crypto - run: | - cargo msrv verify --manifest-path crypto/transcript/Cargo.toml - - cargo msrv verify --manifest-path crypto/ff-group-tests/Cargo.toml - cargo msrv verify --manifest-path crypto/dalek-ff-group/Cargo.toml - cargo msrv verify --manifest-path crypto/ed448/Cargo.toml - - cargo msrv verify --manifest-path crypto/multiexp/Cargo.toml - - cargo msrv verify --manifest-path crypto/dleq/Cargo.toml - cargo msrv verify --manifest-path crypto/ciphersuite/Cargo.toml - cargo msrv verify --manifest-path crypto/schnorr/Cargo.toml - - cargo msrv verify --manifest-path crypto/evrf/generalized-bulletproofs/Cargo.toml - cargo msrv verify --manifest-path crypto/evrf/circuit-abstraction/Cargo.toml - cargo msrv verify --manifest-path crypto/evrf/divisors/Cargo.toml - cargo msrv verify --manifest-path crypto/evrf/ec-gadgets/Cargo.toml - cargo msrv verify --manifest-path crypto/evrf/embedwards25519/Cargo.toml - cargo msrv verify --manifest-path crypto/evrf/secq256k1/Cargo.toml - - cargo msrv verify --manifest-path crypto/dkg/Cargo.toml - cargo msrv verify --manifest-path crypto/frost/Cargo.toml - cargo msrv verify --manifest-path crypto/schnorrkel/Cargo.toml - - msrv-networks: - name: Run cargo msrv on networks - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on networks - run: | - cargo msrv verify --manifest-path networks/bitcoin/Cargo.toml - - cargo msrv verify --manifest-path networks/ethereum/build-contracts/Cargo.toml - cargo msrv verify --manifest-path networks/ethereum/schnorr/Cargo.toml - cargo msrv verify --manifest-path networks/ethereum/alloy-simple-request-transport/Cargo.toml - cargo msrv verify --manifest-path networks/ethereum/relayer/Cargo.toml --features parity-db - - cargo msrv verify --manifest-path networks/monero/io/Cargo.toml - cargo msrv verify --manifest-path networks/monero/generators/Cargo.toml - cargo msrv verify --manifest-path networks/monero/primitives/Cargo.toml - cargo msrv verify --manifest-path networks/monero/ringct/mlsag/Cargo.toml - cargo msrv verify --manifest-path networks/monero/ringct/clsag/Cargo.toml - cargo msrv verify --manifest-path networks/monero/ringct/borromean/Cargo.toml - cargo msrv verify --manifest-path networks/monero/ringct/bulletproofs/Cargo.toml - cargo msrv verify --manifest-path networks/monero/Cargo.toml - cargo msrv verify --manifest-path networks/monero/rpc/Cargo.toml - cargo msrv verify --manifest-path networks/monero/rpc/simple-request/Cargo.toml - cargo msrv verify --manifest-path networks/monero/wallet/address/Cargo.toml - cargo msrv verify --manifest-path networks/monero/wallet/Cargo.toml - cargo msrv verify --manifest-path networks/monero/verify-chain/Cargo.toml - - msrv-message-queue: - name: Run cargo msrv on message-queue - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on message-queue - run: | - cargo msrv verify --manifest-path message-queue/Cargo.toml --features parity-db - - msrv-processor: - name: Run cargo msrv on processor - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on processor - run: | - cargo msrv verify --manifest-path processor/view-keys/Cargo.toml - - cargo msrv verify --manifest-path processor/primitives/Cargo.toml - cargo msrv verify --manifest-path processor/messages/Cargo.toml - - cargo msrv verify --manifest-path processor/scanner/Cargo.toml - - cargo msrv verify --manifest-path processor/scheduler/primitives/Cargo.toml - cargo msrv verify --manifest-path processor/scheduler/smart-contract/Cargo.toml - cargo msrv verify --manifest-path processor/scheduler/utxo/primitives/Cargo.toml - cargo msrv verify --manifest-path processor/scheduler/utxo/standard/Cargo.toml - cargo msrv verify --manifest-path processor/scheduler/utxo/transaction-chaining/Cargo.toml - - cargo msrv verify --manifest-path processor/key-gen/Cargo.toml - cargo msrv verify --manifest-path processor/frost-attempt-manager/Cargo.toml - cargo msrv verify --manifest-path processor/signers/Cargo.toml - cargo msrv verify --manifest-path processor/bin/Cargo.toml --features parity-db - - cargo msrv verify --manifest-path processor/bitcoin/Cargo.toml - - cargo msrv verify --manifest-path processor/ethereum/primitives/Cargo.toml - cargo msrv verify --manifest-path processor/ethereum/test-primitives/Cargo.toml - cargo msrv verify --manifest-path processor/ethereum/erc20/Cargo.toml - cargo msrv verify --manifest-path processor/ethereum/deployer/Cargo.toml - cargo msrv verify --manifest-path processor/ethereum/router/Cargo.toml - cargo msrv verify --manifest-path processor/ethereum/Cargo.toml - - cargo msrv verify --manifest-path processor/monero/Cargo.toml - - msrv-coordinator: - name: Run cargo msrv on coordinator - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on coordinator - run: | - cargo msrv verify --manifest-path coordinator/tributary-sdk/tendermint/Cargo.toml - cargo msrv verify --manifest-path coordinator/tributary-sdk/Cargo.toml - cargo msrv verify --manifest-path coordinator/cosign/Cargo.toml - cargo msrv verify --manifest-path coordinator/substrate/Cargo.toml - cargo msrv verify --manifest-path coordinator/tributary/Cargo.toml - cargo msrv verify --manifest-path coordinator/p2p/Cargo.toml - cargo msrv verify --manifest-path coordinator/p2p/libp2p/Cargo.toml - cargo msrv verify --manifest-path coordinator/Cargo.toml - - msrv-substrate: - name: Run cargo msrv on substrate - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on substrate - run: | - cargo msrv verify --manifest-path substrate/primitives/Cargo.toml - - cargo msrv verify --manifest-path substrate/coins/primitives/Cargo.toml - cargo msrv verify --manifest-path substrate/coins/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/dex/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/economic-security/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/genesis-liquidity/primitives/Cargo.toml - cargo msrv verify --manifest-path substrate/genesis-liquidity/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/in-instructions/primitives/Cargo.toml - cargo msrv verify --manifest-path substrate/in-instructions/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/validator-sets/pallet/Cargo.toml - cargo msrv verify --manifest-path substrate/validator-sets/primitives/Cargo.toml - - cargo msrv verify --manifest-path substrate/emissions/primitives/Cargo.toml - cargo msrv verify --manifest-path substrate/emissions/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/signals/primitives/Cargo.toml - cargo msrv verify --manifest-path substrate/signals/pallet/Cargo.toml - - cargo msrv verify --manifest-path substrate/abi/Cargo.toml - cargo msrv verify --manifest-path substrate/client/Cargo.toml - - cargo msrv verify --manifest-path substrate/runtime/Cargo.toml - cargo msrv verify --manifest-path substrate/node/Cargo.toml - - msrv-orchestration: - name: Run cargo msrv on orchestration - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on message-queue - run: | - cargo msrv verify --manifest-path orchestration/Cargo.toml - - msrv-mini: - name: Run cargo msrv on mini - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies - - - name: Install cargo msrv - run: cargo install --locked cargo-msrv - - - name: Run cargo msrv on mini - run: | - cargo msrv verify --manifest-path mini/Cargo.toml diff --git a/Cargo.lock b/Cargo.lock index 40e50240..9b6d186d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -112,9 +112,9 @@ dependencies = [ [[package]] name = "alloy-consensus" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35f021a55afd68ff2364ccfddaa364fc9a38a72200cdc74fcfb8dc3231d38f2c" +checksum = "b7345077623aaa080fc06735ac13b8fa335125c8550f9c4f64135a5bf6f79967" dependencies = [ "alloy-eips", "alloy-primitives", @@ -137,9 +137,9 @@ dependencies = [ [[package]] name = "alloy-consensus-any" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0ecca7a71b1f88e63d19e2d9397ce56949d3dd3484fd73c73d0077dc5c93d4" +checksum = "501f83565d28bdb9d6457dd3b5d646e19db37709d0f27608a26a1839052ddade" dependencies = [ "alloy-consensus", "alloy-eips", @@ -197,9 +197,9 @@ dependencies = [ [[package]] name = "alloy-eips" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7473a19f02b25f8e1e8c69d35f02c07245694d11bd91bfe00e9190ac106b3838" +checksum = "c219a87fb386a75780ddbdbbced242477321887e426b0f946c05815ceabe5e09" dependencies = [ "alloy-eip2124", "alloy-eip2930", @@ -212,14 +212,16 @@ dependencies = [ "derive_more 2.0.1", "either", "serde", + "serde_with", "sha2 0.10.9", + "thiserror 2.0.16", ] [[package]] name = "alloy-genesis" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b2c29f25098bfa4cd3d9ec7806e1506716931e188c7c0843284123831c2cf1" +checksum = "2dbf4c6b1b733ba0efaa6cc5f68786997a19ffcd88ff2ee2ba72fdd42594375e" dependencies = [ "alloy-eips", "alloy-primitives", @@ -255,9 +257,9 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a4d1f49fdf9780b60e52c20ffcc1e352d8d27885cc8890620eb584978265dd9" +checksum = "334555c323fa2bb98f1d4c242b62da9de8c715557a2ed680a76cefbcac19fefd" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -270,9 +272,9 @@ dependencies = [ [[package]] name = "alloy-network" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2991c432e149babfd996194f8f558f85d7326ac4cf52c55732d32078ff0282d4" +checksum = "c7ea377c9650203d7a7da9e8dee7f04906b49a9253f554b110edd7972e75ef34" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -296,9 +298,9 @@ dependencies = [ [[package]] name = "alloy-network-primitives" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d540d962ddbc3e95153bafe56ccefeb16dfbffa52c5f7bdd66cd29ec8f52259" +checksum = "b9f9ab9a9e92c49a357edaee2d35deea0a32ac8f313cfa37448f04e7e029c9d9" dependencies = [ "alloy-consensus", "alloy-eips", @@ -309,9 +311,9 @@ dependencies = [ [[package]] name = "alloy-node-bindings" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05975c1090ae96b204ec6ac5e21ebca0c27da8fdd9dcf712cd173d7e31ae9865" +checksum = "cb0af8bdb3ee8da43a1f1eb9d1df3c8e3bd657dd20eddd3f00f03105c0fdd3f5" dependencies = [ "alloy-genesis", "alloy-hardforks", @@ -357,9 +359,9 @@ dependencies = [ [[package]] name = "alloy-provider" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e96d8084a1cf96be2df6219ac407275ac20c1136fa01f911535eb489aa006e8" +checksum = "9a85361c88c16116defbd98053e3d267054d6b82729cdbef0236f7881590f924" dependencies = [ "alloy-chains", "alloy-consensus", @@ -417,9 +419,9 @@ dependencies = [ [[package]] name = "alloy-rpc-client" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194ff51cd1d2e65c66b98425e0ca7eb559ca1a579725834c986d84faf8e224c0" +checksum = "743fc964abb0106e454e9e8683fb0809fb32940270ef586a58e913531360b302" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -437,9 +439,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-any" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "124b742619519d5932e586631f11050028b29c30e3e195f2bb04228c886253d6" +checksum = "97372c51a14a804fb9c17010e3dd6c117f7866620b264e24b64d2259be44bcdf" dependencies = [ "alloy-consensus-any", "alloy-rpc-types-eth", @@ -448,20 +450,21 @@ dependencies = [ [[package]] name = "alloy-rpc-types-debug" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c6a6c8ae298c2739706ee3cd996c220b0ea406e6841a4e4290c7336edd5f811" +checksum = "a005a343cae9a0d4078d2f85a666493922d4bfb756229ea2a45a4bafd21cb9f1" dependencies = [ "alloy-primitives", "derive_more 2.0.1", "serde", + "serde_with", ] [[package]] name = "alloy-rpc-types-eth" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "781d4d5020bea8f020e164f5593101c2e2f790d66d04a0727839d03bc4411ed7" +checksum = "672286c19528007df058bafd82c67e23247b4b3ebbc538cbddc705a82d8a930f" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -480,9 +483,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-trace" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719e5eb9c15e21dab3dee2cac53505500e5e701f25d556734279c5f02154022a" +checksum = "d53c5ea8e10ca72889476343deb98c050da7b85e119a55a2a02a9791cb8242e4" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -494,9 +497,9 @@ dependencies = [ [[package]] name = "alloy-serde" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30be84f45d4f687b00efaba1e6290cbf53ccc8f6b8fbb54e4c2f9d2a0474ce95" +checksum = "1aae653f049267ae7e040eab6c9b9a417064ca1a6cb21e3dd59b9f1131ef048f" dependencies = [ "alloy-primitives", "serde", @@ -505,9 +508,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8c24b883fe56395db64afcd665fca32dcdef670a59e5338de6892c2e38d7e9" +checksum = "d97cedce202f848592b96f7e891503d3adb33739c4e76904da73574290141b93" dependencies = [ "alloy-primitives", "async-trait", @@ -520,9 +523,9 @@ dependencies = [ [[package]] name = "alloy-signer-local" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05724615fd2ec3417f5cd07cab908300cbb3aae5badc1b805ca70c555b26775f" +checksum = "83ae7d854db5b7cdd5b9ed7ad13d1e5e034cdd8be85ffef081f61dc6c9e18351" dependencies = [ "alloy-consensus", "alloy-network", @@ -617,9 +620,9 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20b7f8b6c540b55e858f958d3a92223494cf83c4fb43ff9b26491edbeb3a3b71" +checksum = "c08b383bc903c927635e39e1dae7df2180877d93352d1abd389883665a598afc" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -657,9 +660,9 @@ dependencies = [ [[package]] name = "alloy-tx-macros" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e29436068f836727d4e7c819ae6bf6f9c9e19a32e96fc23e814709a277f23a" +checksum = "d14809f908822dbff0dc472c77ca4aa129ab12e22fd9bff2dd1ef54603e68e3d" dependencies = [ "alloy-primitives", "darling", @@ -1873,9 +1876,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" dependencies = [ "android-tzdata", "iana-time-zone", @@ -1883,7 +1886,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1962,9 +1965,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.45" +version = "4.5.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc0e74a703892159f5ae7d3aac52c8e6c392f5ae5f359c70b5881d60aaac318" +checksum = "2c5e4fcf9c21d2e544ca1ee9d8552de13019a42aa7dbf32747fa7aaf1df76e57" dependencies = [ "clap_builder", "clap_derive", @@ -1972,9 +1975,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.44" +version = "4.5.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3e7f4214277f3c7aa526a59dd3fbe306a370daee1f8b7b8c987069cd8e888a8" +checksum = "fecb53a0e6fcfb055f686001bc2e2592fa527efaf38dbe81a6a9563562e57d41" dependencies = [ "anstream", "anstyle", @@ -2378,9 +2381,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.168" +version = "1.0.169" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12d3cbb84fb003242941c231b45ca9417e786e66e94baa39584bd99df3a270b6" +checksum = "acef58f684c0c9b7bffc111657c9f1364e4fa47af46fd7f03b71b7a4066ac372" dependencies = [ "cc", "codespan-reporting", @@ -3084,7 +3087,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -4229,7 +4232,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.8", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -6689,7 +6692,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d" dependencies = [ - "proc-macro-crate 3.2.0", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.106", @@ -7696,7 +7699,7 @@ dependencies = [ "once_cell", "socket2 0.5.8", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -8372,7 +8375,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.14", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -8385,7 +8388,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.9.4", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -9617,19 +9620,15 @@ version = "0.1.0" dependencies = [ "blake2", "ciphersuite 0.4.2", - "crypto-bigint", "ec-divisors", "ff-group-tests", "generalized-bulletproofs-ec-gadgets", - "generic-array 0.14.7", "hex", "hex-literal", "k256", "rand_core 0.6.4", "rustversion", "std-shims", - "subtle", - "zeroize", ] [[package]] @@ -12134,7 +12133,7 @@ dependencies = [ "getrandom 0.3.2", "once_cell", "rustix 1.0.8", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] diff --git a/common/db/Cargo.toml b/common/db/Cargo.toml index acf31601..35397b56 100644 --- a/common/db/Cargo.toml +++ b/common/db/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/db" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.71" +rust-version = "1.65" [package.metadata.docs.rs] all-features = true diff --git a/common/env/Cargo.toml b/common/env/Cargo.toml index be34cbac..e88ef1bc 100644 --- a/common/env/Cargo.toml +++ b/common/env/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/env" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.71" +rust-version = "1.64" [package.metadata.docs.rs] all-features = true diff --git a/common/patchable-async-sleep/Cargo.toml b/common/patchable-async-sleep/Cargo.toml index b4a19c5a..62d26463 100644 --- a/common/patchable-async-sleep/Cargo.toml +++ b/common/patchable-async-sleep/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/patchable-a authors = ["Luke Parker "] keywords = ["async", "sleep", "tokio", "smol", "async-std"] edition = "2021" -rust-version = "1.71" +rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/common/request/Cargo.toml b/common/request/Cargo.toml index 5f3bb445..d960e91b 100644 --- a/common/request/Cargo.toml +++ b/common/request/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/simple-requ authors = ["Luke Parker "] keywords = ["http", "https", "async", "request", "ssl"] edition = "2021" -rust-version = "1.70" +rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/common/std-shims/Cargo.toml b/common/std-shims/Cargo.toml index 099f4e74..cd6d0c31 100644 --- a/common/std-shims/Cargo.toml +++ b/common/std-shims/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/std-shims" authors = ["Luke Parker "] keywords = ["nostd", "no_std", "alloc", "io"] edition = "2021" -rust-version = "1.64" +rust-version = "1.65" [package.metadata.docs.rs] all-features = true diff --git a/common/zalloc/Cargo.toml b/common/zalloc/Cargo.toml index 88e59ec0..c218c614 100644 --- a/common/zalloc/Cargo.toml +++ b/common/zalloc/Cargo.toml @@ -7,7 +7,9 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/zalloc" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.77" +# This must be specified with the patch version, else Rust believes `1.77` < `1.77.0` and will +# refuse to compile due to relying on versions introduced with `1.77.0` +rust-version = "1.77.0" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/Cargo.toml b/coordinator/Cargo.toml index 417b17cf..e55aef91 100644 --- a/coordinator/Cargo.toml +++ b/coordinator/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/cosign/Cargo.toml b/coordinator/cosign/Cargo.toml index bf111f85..0aa8e230 100644 --- a/coordinator/cosign/Cargo.toml +++ b/coordinator/cosign/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/p2p/Cargo.toml b/coordinator/p2p/Cargo.toml index 0e55e8e6..5579982c 100644 --- a/coordinator/p2p/Cargo.toml +++ b/coordinator/p2p/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/p2p/libp2p/Cargo.toml b/coordinator/p2p/libp2p/Cargo.toml index 7707beb7..80d98859 100644 --- a/coordinator/p2p/libp2p/Cargo.toml +++ b/coordinator/p2p/libp2p/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.87" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/substrate/Cargo.toml b/coordinator/substrate/Cargo.toml index c733cc31..3e66c079 100644 --- a/coordinator/substrate/Cargo.toml +++ b/coordinator/substrate/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/tributary-sdk/Cargo.toml b/coordinator/tributary-sdk/Cargo.toml index 2406d0d7..06f2937c 100644 --- a/coordinator/tributary-sdk/Cargo.toml +++ b/coordinator/tributary-sdk/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/coordinator/tributary-sdk" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.81" +rust-version = "1.79" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/tributary-sdk/tendermint/Cargo.toml b/coordinator/tributary-sdk/tendermint/Cargo.toml index 7f7e2186..86a69d35 100644 --- a/coordinator/tributary-sdk/tendermint/Cargo.toml +++ b/coordinator/tributary-sdk/tendermint/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/coordinator/tendermint" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.81" +rust-version = "1.75" [package.metadata.docs.rs] all-features = true diff --git a/coordinator/tributary/Cargo.toml b/coordinator/tributary/Cargo.toml index 8ebb9b10..54fafd13 100644 --- a/coordinator/tributary/Cargo.toml +++ b/coordinator/tributary/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/crypto/ciphersuite/kp256/Cargo.toml b/crypto/ciphersuite/kp256/Cargo.toml index 22c3df85..5f573a1f 100644 --- a/crypto/ciphersuite/kp256/Cargo.toml +++ b/crypto/ciphersuite/kp256/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite authors = ["Luke Parker "] keywords = ["ciphersuite", "ff", "group"] edition = "2021" -rust-version = "1.66" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/crypto/dalek-ff-group/Cargo.toml b/crypto/dalek-ff-group/Cargo.toml index e67924d8..953cb5fc 100644 --- a/crypto/dalek-ff-group/Cargo.toml +++ b/crypto/dalek-ff-group/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dalek-ff-gr authors = ["Luke Parker "] keywords = ["curve25519", "ed25519", "ristretto", "dalek", "group"] edition = "2021" -rust-version = "1.65" +rust-version = "1.66" [package.metadata.docs.rs] all-features = true diff --git a/crypto/dkg/evrf/Cargo.toml b/crypto/dkg/evrf/Cargo.toml index 4100edae..4e3a4268 100644 --- a/crypto/dkg/evrf/Cargo.toml +++ b/crypto/dkg/evrf/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg/evrf" authors = ["Luke Parker "] keywords = ["dkg", "multisig", "threshold", "ff", "group"] edition = "2021" -rust-version = "1.81" +rust-version = "1.89" [package.metadata.docs.rs] all-features = true diff --git a/crypto/ed448/Cargo.toml b/crypto/ed448/Cargo.toml index bb9748a1..1000ba31 100644 --- a/crypto/ed448/Cargo.toml +++ b/crypto/ed448/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ed448" authors = ["Luke Parker "] keywords = ["ed448", "ff", "group"] edition = "2021" -rust-version = "1.65" +rust-version = "1.83" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/embedwards25519/Cargo.toml b/crypto/evrf/embedwards25519/Cargo.toml index b76eb34f..c4083265 100644 --- a/crypto/evrf/embedwards25519/Cargo.toml +++ b/crypto/evrf/embedwards25519/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/embedw authors = ["Luke Parker "] keywords = ["curve25519", "ed25519", "ristretto255", "group"] edition = "2021" -rust-version = "1.80" +rust-version = "1.83" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/secq256k1/Cargo.toml b/crypto/evrf/secq256k1/Cargo.toml index 2437e1e0..b57ecad6 100644 --- a/crypto/evrf/secq256k1/Cargo.toml +++ b/crypto/evrf/secq256k1/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/secq25 authors = ["Luke Parker "] keywords = ["secp256k1", "secq256k1", "group"] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true @@ -19,14 +19,6 @@ hex-literal = { version = "0.4", default-features = false } std-shims = { version = "0.1", path = "../../../common/std-shims", default-features = false, optional = true } -rand_core = { version = "0.6", default-features = false } - -zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] } -subtle = { version = "^2.4", default-features = false } - -generic-array = { version = "0.14", default-features = false } -crypto-bigint = { version = "0.5", default-features = false, features = ["zeroize"] } - k256 = { version = "0.13", default-features = false, features = ["arithmetic"] } blake2 = { version = "0.10", default-features = false } @@ -42,6 +34,6 @@ rand_core = { version = "0.6", features = ["std"] } ff-group-tests = { path = "../../ff-group-tests" } [features] -alloc = ["std-shims", "zeroize/alloc", "ciphersuite/alloc"] -std = ["std-shims/std", "rand_core/std", "zeroize/std", "subtle/std", "blake2/std", "ciphersuite/std", "ec-divisors/std", "generalized-bulletproofs-ec-gadgets/std"] +alloc = ["std-shims", "k256/alloc", "ciphersuite/alloc"] +std = ["std-shims/std", "k256/std", "blake2/std", "ciphersuite/std", "ec-divisors/std", "generalized-bulletproofs-ec-gadgets/std"] default = ["std"] diff --git a/crypto/evrf/secq256k1/src/backend.rs b/crypto/evrf/secq256k1/src/backend.rs index 9551caa5..5e3fdbcb 100644 --- a/crypto/evrf/secq256k1/src/backend.rs +++ b/crypto/evrf/secq256k1/src/backend.rs @@ -1,4 +1,4 @@ -use zeroize::Zeroize; +use k256::elliptic_curve::zeroize::Zeroize; // Use black_box when possible #[rustversion::since(1.66)] @@ -85,13 +85,13 @@ macro_rules! field { iter::{Sum, Product}, }; - use subtle::{Choice, CtOption, ConstantTimeEq, ConstantTimeLess, ConditionallySelectable}; - use rand_core::RngCore; - - use crypto_bigint::{Integer, NonZero, Encoding, impl_modulus}; - - use ciphersuite::group::ff::{ - Field, PrimeField, FieldBits, PrimeFieldBits, FromUniformBytes, helpers::sqrt_ratio_generic, + use k256::elliptic_curve::{ + subtle::{Choice, CtOption, ConstantTimeEq, ConstantTimeLess, ConditionallySelectable}, + rand_core::RngCore, + bigint::{Integer, NonZero, Encoding, impl_modulus}, + group::ff::{ + Field, PrimeField, FieldBits, PrimeFieldBits, FromUniformBytes, helpers::sqrt_ratio_generic, + }, }; use $crate::backend::u8_from_bool; diff --git a/crypto/evrf/secq256k1/src/lib.rs b/crypto/evrf/secq256k1/src/lib.rs index 948b9314..747ef11b 100644 --- a/crypto/evrf/secq256k1/src/lib.rs +++ b/crypto/evrf/secq256k1/src/lib.rs @@ -7,8 +7,11 @@ use std_shims::prelude::*; #[cfg(any(feature = "alloc", feature = "std"))] use std_shims::io::{self, Read}; -use generic_array::typenum::{Sum, Diff, Quot, U, U1, U2}; -use ciphersuite::group::{ff::PrimeField, Group}; +use k256::elliptic_curve::{ + zeroize::Zeroize, + generic_array::typenum::{Sum, Diff, Quot, U, U1, U2}, + group::{ff::PrimeField, Group}, +}; #[macro_use] mod backend; @@ -26,8 +29,11 @@ pub use point::Point; /// hash_to_F is implemented with a naive concatenation of the dst and data, allowing transposition /// between the two. This means `dst: b"abc", data: b"def"`, will produce the same scalar as /// `dst: "abcdef", data: b""`. Please use carefully, not letting dsts be substrings of each other. -#[derive(Clone, Copy, PartialEq, Eq, Debug, zeroize::Zeroize)] +#[derive(Clone, Copy, PartialEq, Eq, Debug)] pub struct Secq256k1; +impl Zeroize for Secq256k1 { + fn zeroize(&mut self) {} +} impl ciphersuite::Ciphersuite for Secq256k1 { type F = Scalar; type G = Point; diff --git a/crypto/evrf/secq256k1/src/point.rs b/crypto/evrf/secq256k1/src/point.rs index b22decb7..1b4c6bd8 100644 --- a/crypto/evrf/secq256k1/src/point.rs +++ b/crypto/evrf/secq256k1/src/point.rs @@ -3,17 +3,16 @@ use core::{ iter::Sum, }; -use rand_core::RngCore; - -use zeroize::Zeroize; -use subtle::{Choice, CtOption, ConstantTimeEq, ConditionallySelectable, ConditionallyNegatable}; - -use generic_array::{typenum::U33, GenericArray}; - -use ciphersuite::group::{ - ff::{Field, PrimeField, PrimeFieldBits}, - Group, GroupEncoding, - prime::PrimeGroup, +use k256::elliptic_curve::{ + zeroize::Zeroize, + subtle::{Choice, CtOption, ConstantTimeEq, ConditionallySelectable, ConditionallyNegatable}, + generic_array::{typenum::U33, GenericArray}, + rand_core::RngCore, + group::{ + ff::{Field, PrimeField, PrimeFieldBits}, + Group, GroupEncoding, + prime::PrimeGroup, + }, }; use crate::{backend::u8_from_bool, Scalar, FieldElement}; diff --git a/crypto/evrf/secq256k1/src/scalar.rs b/crypto/evrf/secq256k1/src/scalar.rs index 1bc930a2..a420bbc9 100644 --- a/crypto/evrf/secq256k1/src/scalar.rs +++ b/crypto/evrf/secq256k1/src/scalar.rs @@ -1,8 +1,9 @@ -use zeroize::{DefaultIsZeroes, Zeroize}; - -use crypto_bigint::{ - U256, U512, - modular::constant_mod::{ResidueParams, Residue}, +use k256::elliptic_curve::{ + zeroize::{DefaultIsZeroes, Zeroize}, + bigint::{ + U256, U512, + modular::constant_mod::{ResidueParams, Residue}, + }, }; const MODULUS_STR: &str = "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F"; diff --git a/crypto/frost/Cargo.toml b/crypto/frost/Cargo.toml index bb5ba759..531f059f 100644 --- a/crypto/frost/Cargo.toml +++ b/crypto/frost/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost" authors = ["Luke Parker "] keywords = ["frost", "multisig", "threshold"] edition = "2021" -rust-version = "1.80" +rust-version = "1.79" [package.metadata.docs.rs] all-features = true diff --git a/crypto/multiexp/Cargo.toml b/crypto/multiexp/Cargo.toml index a44136d1..fcf32f85 100644 --- a/crypto/multiexp/Cargo.toml +++ b/crypto/multiexp/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/multiexp" authors = ["Luke Parker "] keywords = ["multiexp", "ff", "group"] edition = "2021" -rust-version = "1.80" +rust-version = "1.79" [package.metadata.docs.rs] all-features = true diff --git a/crypto/schnorr/Cargo.toml b/crypto/schnorr/Cargo.toml index 3af88288..db5c171d 100644 --- a/crypto/schnorr/Cargo.toml +++ b/crypto/schnorr/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorr" authors = ["Luke Parker "] keywords = ["schnorr", "ff", "group"] edition = "2021" -rust-version = "1.80" +rust-version = "1.79" [package.metadata.docs.rs] all-features = true diff --git a/crypto/schnorrkel/Cargo.toml b/crypto/schnorrkel/Cargo.toml index 81271edc..889cf4ed 100644 --- a/crypto/schnorrkel/Cargo.toml +++ b/crypto/schnorrkel/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorrkel" authors = ["Luke Parker "] keywords = ["frost", "multisig", "threshold", "schnorrkel"] edition = "2021" -rust-version = "1.80" +rust-version = "1.79" [package.metadata.docs.rs] all-features = true diff --git a/message-queue/Cargo.toml b/message-queue/Cargo.toml index 3a290d16..fc65e59b 100644 --- a/message-queue/Cargo.toml +++ b/message-queue/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/mini/Cargo.toml b/mini/Cargo.toml index 075c2887..dfef7e56 100644 --- a/mini/Cargo.toml +++ b/mini/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/networks/bitcoin/Cargo.toml b/networks/bitcoin/Cargo.toml index edbc433e..91d0d9af 100644 --- a/networks/bitcoin/Cargo.toml +++ b/networks/bitcoin/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/networks/bitcoin" authors = ["Luke Parker ", "Vrx "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/networks/ethereum/alloy-simple-request-transport/Cargo.toml b/networks/ethereum/alloy-simple-request-transport/Cargo.toml index 33d7cc5e..69dc25b4 100644 --- a/networks/ethereum/alloy-simple-request-transport/Cargo.toml +++ b/networks/ethereum/alloy-simple-request-transport/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/networks/ethereum/alloy-simple-request-transport" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.81" +rust-version = "1.86" [package.metadata.docs.rs] all-features = true diff --git a/networks/ethereum/relayer/Cargo.toml b/networks/ethereum/relayer/Cargo.toml index 37b99827..89d8e99e 100644 --- a/networks/ethereum/relayer/Cargo.toml +++ b/networks/ethereum/relayer/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.72" [package.metadata.docs.rs] all-features = true diff --git a/networks/ethereum/schnorr/Cargo.toml b/networks/ethereum/schnorr/Cargo.toml index 7904ef6a..bfe88776 100644 --- a/networks/ethereum/schnorr/Cargo.toml +++ b/networks/ethereum/schnorr/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/networks/ethereum/schnorr" authors = ["Luke Parker ", "Elizabeth Binks "] edition = "2021" -rust-version = "1.81" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/orchestration/Cargo.toml b/orchestration/Cargo.toml index 5d14977d..ad1fd4e8 100644 --- a/orchestration/Cargo.toml +++ b/orchestration/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/orchestration/" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/patches/ciphersuite/Cargo.toml b/patches/ciphersuite/Cargo.toml index a27befed..4743f37c 100644 --- a/patches/ciphersuite/Cargo.toml +++ b/patches/ciphersuite/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite authors = ["Luke Parker "] keywords = ["ciphersuite", "ff", "group"] edition = "2021" -rust-version = "1.66" [package.metadata.docs.rs] all-features = true diff --git a/patches/matches/Cargo.toml b/patches/matches/Cargo.toml index b3b16e8b..f61e2f4b 100644 --- a/patches/matches/Cargo.toml +++ b/patches/matches/Cargo.toml @@ -6,8 +6,8 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/patches/matches" authors = ["Luke Parker "] keywords = [] -edition = "2021" -rust-version = "1.56" +edition = "2018" +rust-version = "1.42" [package.metadata.docs.rs] all-features = true diff --git a/patches/option-ext/Cargo.toml b/patches/option-ext/Cargo.toml index 64bf3838..12eb31bf 100644 --- a/patches/option-ext/Cargo.toml +++ b/patches/option-ext/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "option-ext" version = "0.2.0" -description = "Non-MPL option-ext with the exactly needed API for directories" +description = "Non-MPL option-ext with only the API necessary for directories" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/patches/option-ext" authors = ["Luke Parker "] diff --git a/processor/bin/Cargo.toml b/processor/bin/Cargo.toml index 9c34bce8..7df18918 100644 --- a/processor/bin/Cargo.toml +++ b/processor/bin/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/bitcoin/Cargo.toml b/processor/bitcoin/Cargo.toml index 97ce58d0..673b3baa 100644 --- a/processor/bitcoin/Cargo.toml +++ b/processor/bitcoin/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/ethereum/Cargo.toml b/processor/ethereum/Cargo.toml index 140ab274..8d642ffc 100644 --- a/processor/ethereum/Cargo.toml +++ b/processor/ethereum/Cargo.toml @@ -8,7 +8,6 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.81" [package.metadata.docs.rs] all-features = true diff --git a/processor/ethereum/deployer/Cargo.toml b/processor/ethereum/deployer/Cargo.toml index 98feab32..d9112e54 100644 --- a/processor/ethereum/deployer/Cargo.toml +++ b/processor/ethereum/deployer/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.86" [package.metadata.docs.rs] all-features = true diff --git a/processor/ethereum/erc20/Cargo.toml b/processor/ethereum/erc20/Cargo.toml index 58f54737..549d95a1 100644 --- a/processor/ethereum/erc20/Cargo.toml +++ b/processor/ethereum/erc20/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.86" [package.metadata.docs.rs] all-features = true diff --git a/processor/ethereum/primitives/Cargo.toml b/processor/ethereum/primitives/Cargo.toml index 58af4ad6..004f0708 100644 --- a/processor/ethereum/primitives/Cargo.toml +++ b/processor/ethereum/primitives/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.86" [package.metadata.docs.rs] all-features = true diff --git a/processor/ethereum/router/Cargo.toml b/processor/ethereum/router/Cargo.toml index bc3c329a..0a46dead 100644 --- a/processor/ethereum/router/Cargo.toml +++ b/processor/ethereum/router/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.88" [package.metadata.docs.rs] all-features = true diff --git a/processor/ethereum/test-primitives/Cargo.toml b/processor/ethereum/test-primitives/Cargo.toml index 06000ce1..d67788c4 100644 --- a/processor/ethereum/test-primitives/Cargo.toml +++ b/processor/ethereum/test-primitives/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.81" +rust-version = "1.86" [package.metadata.docs.rs] all-features = true diff --git a/processor/frost-attempt-manager/Cargo.toml b/processor/frost-attempt-manager/Cargo.toml index 23fcc536..68fd1669 100644 --- a/processor/frost-attempt-manager/Cargo.toml +++ b/processor/frost-attempt-manager/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = ["frost", "multisig", "threshold"] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/key-gen/Cargo.toml b/processor/key-gen/Cargo.toml index c263e0e3..eea820a2 100644 --- a/processor/key-gen/Cargo.toml +++ b/processor/key-gen/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.89" [package.metadata.docs.rs] all-features = true diff --git a/processor/messages/Cargo.toml b/processor/messages/Cargo.toml index b1387301..a505b0a9 100644 --- a/processor/messages/Cargo.toml +++ b/processor/messages/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/monero/Cargo.toml b/processor/monero/Cargo.toml index 29c5af7e..796d2040 100644 --- a/processor/monero/Cargo.toml +++ b/processor/monero/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.56" [package.metadata.docs.rs] all-features = true diff --git a/processor/primitives/Cargo.toml b/processor/primitives/Cargo.toml index a950a61b..aadb73d1 100644 --- a/processor/primitives/Cargo.toml +++ b/processor/primitives/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/scanner/Cargo.toml b/processor/scanner/Cargo.toml index 1fc70e0f..87c47a33 100644 --- a/processor/scanner/Cargo.toml +++ b/processor/scanner/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/primitives/Cargo.toml b/processor/scheduler/primitives/Cargo.toml index 7540dc84..a0408989 100644 --- a/processor/scheduler/primitives/Cargo.toml +++ b/processor/scheduler/primitives/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.79" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/smart-contract/Cargo.toml b/processor/scheduler/smart-contract/Cargo.toml index 0a2a0ff2..e311f783 100644 --- a/processor/scheduler/smart-contract/Cargo.toml +++ b/processor/scheduler/smart-contract/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/utxo/primitives/Cargo.toml b/processor/scheduler/utxo/primitives/Cargo.toml index d1f9c8cf..83f8ec9a 100644 --- a/processor/scheduler/utxo/primitives/Cargo.toml +++ b/processor/scheduler/utxo/primitives/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/utxo/standard/Cargo.toml b/processor/scheduler/utxo/standard/Cargo.toml index e3d574ac..79c07b89 100644 --- a/processor/scheduler/utxo/standard/Cargo.toml +++ b/processor/scheduler/utxo/standard/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/utxo/transaction-chaining/Cargo.toml b/processor/scheduler/utxo/transaction-chaining/Cargo.toml index f8a676f8..d6a54e86 100644 --- a/processor/scheduler/utxo/transaction-chaining/Cargo.toml +++ b/processor/scheduler/utxo/transaction-chaining/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/signers/Cargo.toml b/processor/signers/Cargo.toml index feaa9a30..48499f21 100644 --- a/processor/signers/Cargo.toml +++ b/processor/signers/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/processor/view-keys/Cargo.toml b/processor/view-keys/Cargo.toml index d76ca32b..a1147e27 100644 --- a/processor/view-keys/Cargo.toml +++ b/processor/view-keys/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/view-key authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.80" +rust-version = "1.66" [package.metadata.docs.rs] all-features = true diff --git a/substrate/abi/Cargo.toml b/substrate/abi/Cargo.toml index 772cdd32..fda8d8ad 100644 --- a/substrate/abi/Cargo.toml +++ b/substrate/abi/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/abi" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/client/Cargo.toml b/substrate/client/Cargo.toml index 2e5b417f..2abf68d0 100644 --- a/substrate/client/Cargo.toml +++ b/substrate/client/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/substrate/client" authors = ["Luke Parker "] keywords = ["serai"] edition = "2021" -rust-version = "1.82" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/coins/pallet/Cargo.toml b/substrate/coins/pallet/Cargo.toml index ae17b5ba..6127d7c3 100644 --- a/substrate/coins/pallet/Cargo.toml +++ b/substrate/coins/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/coins/pallet" authors = ["Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/coins/primitives/Cargo.toml b/substrate/coins/primitives/Cargo.toml index ed160f9d..07bbf881 100644 --- a/substrate/coins/primitives/Cargo.toml +++ b/substrate/coins/primitives/Cargo.toml @@ -5,7 +5,7 @@ description = "Serai coins primitives" license = "MIT" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/dex/pallet/Cargo.toml b/substrate/dex/pallet/Cargo.toml index d27ffdeb..af893ad9 100644 --- a/substrate/dex/pallet/Cargo.toml +++ b/substrate/dex/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/dex/pallet" authors = ["Parity Technologies , Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/economic-security/pallet/Cargo.toml b/substrate/economic-security/pallet/Cargo.toml index efd969c8..73cdeeb1 100644 --- a/substrate/economic-security/pallet/Cargo.toml +++ b/substrate/economic-security/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/economic-security/pallet" authors = ["Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true @@ -30,7 +30,6 @@ coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", de serai-primitives = { path = "../../primitives", default-features = false } - [dev-dependencies] pallet-babe = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-grandpa = { git = "https://github.com/serai-dex/substrate", default-features = false } diff --git a/substrate/emissions/pallet/Cargo.toml b/substrate/emissions/pallet/Cargo.toml index 742dff08..4c9f8e47 100644 --- a/substrate/emissions/pallet/Cargo.toml +++ b/substrate/emissions/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/emissions/pallet" authors = ["Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/emissions/primitives/Cargo.toml b/substrate/emissions/primitives/Cargo.toml index 077de439..95a1222a 100644 --- a/substrate/emissions/primitives/Cargo.toml +++ b/substrate/emissions/primitives/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/emissions/primitives" authors = ["Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/genesis-liquidity/pallet/Cargo.toml b/substrate/genesis-liquidity/pallet/Cargo.toml index 4162c038..99a0a333 100644 --- a/substrate/genesis-liquidity/pallet/Cargo.toml +++ b/substrate/genesis-liquidity/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/genesis-liquidity/pallet" authors = ["Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/genesis-liquidity/primitives/Cargo.toml b/substrate/genesis-liquidity/primitives/Cargo.toml index d026ccf4..7adc1618 100644 --- a/substrate/genesis-liquidity/primitives/Cargo.toml +++ b/substrate/genesis-liquidity/primitives/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/genesis-liquidity/primitives" authors = ["Akil Demir "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/in-instructions/pallet/Cargo.toml b/substrate/in-instructions/pallet/Cargo.toml index a0d45729..ae940797 100644 --- a/substrate/in-instructions/pallet/Cargo.toml +++ b/substrate/in-instructions/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/in-instructions/primitives/Cargo.toml b/substrate/in-instructions/primitives/Cargo.toml index bd926749..d32a8248 100644 --- a/substrate/in-instructions/primitives/Cargo.toml +++ b/substrate/in-instructions/primitives/Cargo.toml @@ -5,7 +5,7 @@ description = "Serai instructions library, enabling encoding and decoding" license = "MIT" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/node/Cargo.toml b/substrate/node/Cargo.toml index b0d9d858..10f56264 100644 --- a/substrate/node/Cargo.toml +++ b/substrate/node/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/substrate/node" authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/primitives/Cargo.toml b/substrate/primitives/Cargo.toml index 7a26f195..1b7660ff 100644 --- a/substrate/primitives/Cargo.toml +++ b/substrate/primitives/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/primitives" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/runtime/Cargo.toml b/substrate/runtime/Cargo.toml index c653bf32..96ded956 100644 --- a/substrate/runtime/Cargo.toml +++ b/substrate/runtime/Cargo.toml @@ -6,7 +6,6 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/runtime" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/signals/pallet/Cargo.toml b/substrate/signals/pallet/Cargo.toml index 4c3e3407..6c285128 100644 --- a/substrate/signals/pallet/Cargo.toml +++ b/substrate/signals/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/signals/pallet" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/signals/primitives/Cargo.toml b/substrate/signals/primitives/Cargo.toml index dbaba0a5..629606d9 100644 --- a/substrate/signals/primitives/Cargo.toml +++ b/substrate/signals/primitives/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/signals/primitives" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/validator-sets/pallet/Cargo.toml b/substrate/validator-sets/pallet/Cargo.toml index bdf0a87a..813e053f 100644 --- a/substrate/validator-sets/pallet/Cargo.toml +++ b/substrate/validator-sets/pallet/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/validator-sets/pallet" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true diff --git a/substrate/validator-sets/primitives/Cargo.toml b/substrate/validator-sets/primitives/Cargo.toml index dc7f419f..115d2c07 100644 --- a/substrate/validator-sets/primitives/Cargo.toml +++ b/substrate/validator-sets/primitives/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/validator-sets/primitives" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" +rust-version = "1.85" [package.metadata.docs.rs] all-features = true