From 8013c56195990f37d07f921eba6efa36f92cf355 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 8 Dec 2024 18:27:01 -0500 Subject: [PATCH] Add/correct msrv labels --- .github/workflows/msrv.yml | 253 ++++++++++++++++++ Cargo.lock | 2 +- common/db/Cargo.toml | 2 +- common/env/Cargo.toml | 2 +- common/patchable-async-sleep/Cargo.toml | 1 + common/request/Cargo.toml | 2 +- common/std-shims/Cargo.toml | 2 +- common/zalloc/Cargo.toml | 2 +- crypto/ciphersuite/Cargo.toml | 2 +- crypto/dalek-ff-group/Cargo.toml | 2 +- crypto/dkg/Cargo.toml | 2 +- crypto/ed448/Cargo.toml | 2 +- crypto/evrf/circuit-abstraction/Cargo.toml | 1 + crypto/evrf/divisors/Cargo.toml | 1 + crypto/evrf/ec-gadgets/Cargo.toml | 1 + crypto/evrf/embedwards25519/Cargo.toml | 1 + .../evrf/generalized-bulletproofs/Cargo.toml | 1 + crypto/evrf/secq256k1/Cargo.toml | 1 + crypto/frost/Cargo.toml | 2 +- crypto/multiexp/Cargo.toml | 2 +- crypto/schnorr/Cargo.toml | 2 +- crypto/schnorrkel/Cargo.toml | 2 +- crypto/transcript/Cargo.toml | 2 +- message-queue/Cargo.toml | 1 + message-queue/src/main.rs | 3 +- mini/Cargo.toml | 1 + .../alloy-simple-request-transport/Cargo.toml | 6 +- networks/ethereum/build-contracts/Cargo.toml | 1 + networks/ethereum/relayer/Cargo.toml | 1 + networks/monero/generators/Cargo.toml | 1 + networks/monero/verify-chain/Cargo.toml | 2 +- networks/monero/wallet/Cargo.toml | 1 - orchestration/Cargo.toml | 1 + patches/directories-next/Cargo.toml | 1 - patches/option-ext/Cargo.toml | 1 - patches/parking_lot/Cargo.toml | 1 - patches/parking_lot_core/Cargo.toml | 1 - patches/rocksdb/Cargo.toml | 1 - patches/zstd/Cargo.toml | 1 - processor/bin/Cargo.toml | 1 + processor/bin/src/lib.rs | 2 +- processor/bitcoin/Cargo.toml | 1 + processor/frost-attempt-manager/Cargo.toml | 1 + processor/key-gen/Cargo.toml | 1 + processor/messages/Cargo.toml | 1 + processor/monero/Cargo.toml | 1 + processor/primitives/Cargo.toml | 5 +- processor/scanner/Cargo.toml | 1 + processor/scheduler/primitives/Cargo.toml | 1 + processor/scheduler/smart-contract/Cargo.toml | 1 + .../scheduler/utxo/primitives/Cargo.toml | 1 + processor/scheduler/utxo/standard/Cargo.toml | 1 + .../utxo/transaction-chaining/Cargo.toml | 1 + processor/signers/Cargo.toml | 1 + processor/view-keys/Cargo.toml | 1 + substrate/abi/Cargo.toml | 2 +- substrate/client/Cargo.toml | 2 +- substrate/coins/pallet/Cargo.toml | 2 +- substrate/coins/primitives/Cargo.toml | 2 +- substrate/dex/pallet/Cargo.toml | 2 +- substrate/economic-security/pallet/Cargo.toml | 2 +- substrate/emissions/pallet/Cargo.toml | 4 +- substrate/emissions/primitives/Cargo.toml | 2 +- substrate/genesis-liquidity/pallet/Cargo.toml | 2 +- .../genesis-liquidity/primitives/Cargo.toml | 4 +- substrate/in-instructions/pallet/Cargo.toml | 2 +- .../in-instructions/primitives/Cargo.toml | 2 +- substrate/node/Cargo.toml | 2 +- substrate/primitives/Cargo.toml | 2 +- substrate/runtime/Cargo.toml | 2 +- substrate/signals/pallet/Cargo.toml | 2 +- substrate/signals/primitives/Cargo.toml | 2 +- substrate/validator-sets/pallet/Cargo.toml | 2 +- .../validator-sets/primitives/Cargo.toml | 2 +- 74 files changed, 326 insertions(+), 51 deletions(-) create mode 100644 .github/workflows/msrv.yml diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml new file mode 100644 index 00000000..f969f755 --- /dev/null +++ b/.github/workflows/msrv.yml @@ -0,0 +1,253 @@ +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/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/tendermint/Cargo.toml + cargo msrv verify --manifest-path coordinator/tributary/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 df7d578e..279fb59f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -386,7 +386,7 @@ dependencies = [ [[package]] name = "alloy-simple-request-transport" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy-json-rpc", "alloy-transport", diff --git a/common/db/Cargo.toml b/common/db/Cargo.toml index e422b346..66f798a4 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.65" +rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/common/env/Cargo.toml b/common/env/Cargo.toml index 8e296a66..be34cbac 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.60" +rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/common/patchable-async-sleep/Cargo.toml b/common/patchable-async-sleep/Cargo.toml index e2d1e9cf..b4a19c5a 100644 --- a/common/patchable-async-sleep/Cargo.toml +++ b/common/patchable-async-sleep/Cargo.toml @@ -7,6 +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" [package.metadata.docs.rs] all-features = true diff --git a/common/request/Cargo.toml b/common/request/Cargo.toml index e5018056..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.64" +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 534a4216..983a2522 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.70" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/common/zalloc/Cargo.toml b/common/zalloc/Cargo.toml index af4e7c1c..88e59ec0 100644 --- a/common/zalloc/Cargo.toml +++ b/common/zalloc/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/common/zalloc" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.77.0" +rust-version = "1.77" [package.metadata.docs.rs] all-features = true diff --git a/crypto/ciphersuite/Cargo.toml b/crypto/ciphersuite/Cargo.toml index 9fcf60a6..b666dbaa 100644 --- a/crypto/ciphersuite/Cargo.toml +++ b/crypto/ciphersuite/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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/dalek-ff-group/Cargo.toml b/crypto/dalek-ff-group/Cargo.toml index 29b8806c..b41e1f4e 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.66" +rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/crypto/dkg/Cargo.toml b/crypto/dkg/Cargo.toml index 39ebb6dc..337b702e 100644 --- a/crypto/dkg/Cargo.toml +++ b/crypto/dkg/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg" authors = ["Luke Parker "] keywords = ["dkg", "multisig", "threshold", "ff", "group"] edition = "2021" -rust-version = "1.79" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/ed448/Cargo.toml b/crypto/ed448/Cargo.toml index b0d0026e..64c1b243 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.66" +rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/circuit-abstraction/Cargo.toml b/crypto/evrf/circuit-abstraction/Cargo.toml index 1346be49..ec2767fe 100644 --- a/crypto/evrf/circuit-abstraction/Cargo.toml +++ b/crypto/evrf/circuit-abstraction/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/circui authors = ["Luke Parker "] keywords = ["bulletproofs", "circuit"] edition = "2021" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/divisors/Cargo.toml b/crypto/evrf/divisors/Cargo.toml index 04e820b6..a5e0663c 100644 --- a/crypto/evrf/divisors/Cargo.toml +++ b/crypto/evrf/divisors/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/diviso authors = ["Luke Parker "] keywords = ["ciphersuite", "ff", "group"] edition = "2021" +rust-version = "1.71" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/ec-gadgets/Cargo.toml b/crypto/evrf/ec-gadgets/Cargo.toml index cbd35639..dad62a93 100644 --- a/crypto/evrf/ec-gadgets/Cargo.toml +++ b/crypto/evrf/ec-gadgets/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/ec-gad authors = ["Luke Parker "] keywords = ["bulletproofs", "circuit", "divisors"] edition = "2021" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/embedwards25519/Cargo.toml b/crypto/evrf/embedwards25519/Cargo.toml index bbae482b..eae36b13 100644 --- a/crypto/evrf/embedwards25519/Cargo.toml +++ b/crypto/evrf/embedwards25519/Cargo.toml @@ -7,6 +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" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/generalized-bulletproofs/Cargo.toml b/crypto/evrf/generalized-bulletproofs/Cargo.toml index 9dfc95a5..7744f5ed 100644 --- a/crypto/evrf/generalized-bulletproofs/Cargo.toml +++ b/crypto/evrf/generalized-bulletproofs/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/evrf/genera authors = ["Luke Parker "] keywords = ["ciphersuite", "ff", "group"] edition = "2021" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/evrf/secq256k1/Cargo.toml b/crypto/evrf/secq256k1/Cargo.toml index c363ca4f..9d7d6ef4 100644 --- a/crypto/evrf/secq256k1/Cargo.toml +++ b/crypto/evrf/secq256k1/Cargo.toml @@ -7,6 +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" [package.metadata.docs.rs] all-features = true diff --git a/crypto/frost/Cargo.toml b/crypto/frost/Cargo.toml index 7c32b6f0..00b18cd0 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.79" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/multiexp/Cargo.toml b/crypto/multiexp/Cargo.toml index 228b85ab..36efbfe2 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.79" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/schnorr/Cargo.toml b/crypto/schnorr/Cargo.toml index 2ea04f5b..06a9710e 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.79" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/schnorrkel/Cargo.toml b/crypto/schnorrkel/Cargo.toml index 2508bef0..68be2135 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.79" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/crypto/transcript/Cargo.toml b/crypto/transcript/Cargo.toml index 84e08abf..566ad56b 100644 --- a/crypto/transcript/Cargo.toml +++ b/crypto/transcript/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/crypto/transcript" authors = ["Luke Parker "] keywords = ["transcript"] edition = "2021" -rust-version = "1.79" +rust-version = "1.73" [package.metadata.docs.rs] all-features = true diff --git a/message-queue/Cargo.toml b/message-queue/Cargo.toml index 9eeaa5ce..7f180933 100644 --- a/message-queue/Cargo.toml +++ b/message-queue/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/message-queue/src/main.rs b/message-queue/src/main.rs index 03c580ce..c148f13e 100644 --- a/message-queue/src/main.rs +++ b/message-queue/src/main.rs @@ -73,7 +73,8 @@ pub(crate) fn queue_message( assert!(matches!(meta.from, Service::Coordinator) ^ matches!(meta.to, Service::Coordinator)); // Lock the queue - let queue_lock = QUEUES.read().unwrap()[&(meta.from, meta.to)].write().unwrap(); + let queue_lock = QUEUES.read().unwrap(); + let mut queue_lock = queue_lock[&(meta.from, meta.to)].write().unwrap(); // Verify (from, to, intent) hasn't been prior seen fn key(domain: &'static [u8], key: impl AsRef<[u8]>) -> Vec { diff --git a/mini/Cargo.toml b/mini/Cargo.toml index dfef7e56..075c2887 100644 --- a/mini/Cargo.toml +++ b/mini/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.71" [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 bd89aa0d..e87fbe5b 100644 --- a/networks/ethereum/alloy-simple-request-transport/Cargo.toml +++ b/networks/ethereum/alloy-simple-request-transport/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "alloy-simple-request-transport" -version = "0.1.0" +version = "0.1.1" description = "A transport for alloy based off simple-request" 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.74" +rust-version = "1.78" [package.metadata.docs.rs] all-features = true @@ -19,7 +19,7 @@ workspace = true tower = "0.4" serde_json = { version = "1", default-features = false } -simple-request = { path = "../../../common/request", default-features = false } +simple-request = { path = "../../../common/request", version = "0.1", default-features = false } alloy-json-rpc = { version = "0.3", default-features = false } alloy-transport = { version = "0.3", default-features = false } diff --git a/networks/ethereum/build-contracts/Cargo.toml b/networks/ethereum/build-contracts/Cargo.toml index 41d1f993..6b288d72 100644 --- a/networks/ethereum/build-contracts/Cargo.toml +++ b/networks/ethereum/build-contracts/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/networks/ethereum/build-contracts" authors = ["Luke Parker "] edition = "2021" +rust-version = "1.81" [package.metadata.docs.rs] all-features = true diff --git a/networks/ethereum/relayer/Cargo.toml b/networks/ethereum/relayer/Cargo.toml index 89d8e99e..37b99827 100644 --- a/networks/ethereum/relayer/Cargo.toml +++ b/networks/ethereum/relayer/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.72" [package.metadata.docs.rs] all-features = true diff --git a/networks/monero/generators/Cargo.toml b/networks/monero/generators/Cargo.toml index af8cbcd9..11a33897 100644 --- a/networks/monero/generators/Cargo.toml +++ b/networks/monero/generators/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/networks/monero/generators" authors = ["Luke Parker "] edition = "2021" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/networks/monero/verify-chain/Cargo.toml b/networks/monero/verify-chain/Cargo.toml index e1aba16e..f7164357 100644 --- a/networks/monero/verify-chain/Cargo.toml +++ b/networks/monero/verify-chain/Cargo.toml @@ -6,8 +6,8 @@ license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/networks/monero/verify-chain" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.80" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/networks/monero/wallet/Cargo.toml b/networks/monero/wallet/Cargo.toml index af787e49..12cc3245 100644 --- a/networks/monero/wallet/Cargo.toml +++ b/networks/monero/wallet/Cargo.toml @@ -11,7 +11,6 @@ rust-version = "1.80" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] -rust-version = "1.80" [package.metadata.cargo-machete] ignored = ["monero-clsag"] diff --git a/orchestration/Cargo.toml b/orchestration/Cargo.toml index a70e9936..00b0d99b 100644 --- a/orchestration/Cargo.toml +++ b/orchestration/Cargo.toml @@ -7,6 +7,7 @@ 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/directories-next/Cargo.toml b/patches/directories-next/Cargo.toml index 8c2b21dc..3ffcb6ce 100644 --- a/patches/directories-next/Cargo.toml +++ b/patches/directories-next/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/patches/directorie authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.74" [package.metadata.docs.rs] all-features = true diff --git a/patches/option-ext/Cargo.toml b/patches/option-ext/Cargo.toml index 6f039c31..64bf3838 100644 --- a/patches/option-ext/Cargo.toml +++ b/patches/option-ext/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/patches/option-ext authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.74" [package.metadata.docs.rs] all-features = true diff --git a/patches/parking_lot/Cargo.toml b/patches/parking_lot/Cargo.toml index 957b19bf..20cdd271 100644 --- a/patches/parking_lot/Cargo.toml +++ b/patches/parking_lot/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/patches/parking_lo authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/patches/parking_lot_core/Cargo.toml b/patches/parking_lot_core/Cargo.toml index 37dcc703..cafd432b 100644 --- a/patches/parking_lot_core/Cargo.toml +++ b/patches/parking_lot_core/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/patches/parking_lo authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/patches/rocksdb/Cargo.toml b/patches/rocksdb/Cargo.toml index 3a92fafc..b77ee4bc 100644 --- a/patches/rocksdb/Cargo.toml +++ b/patches/rocksdb/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/patches/rocksdb" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/patches/zstd/Cargo.toml b/patches/zstd/Cargo.toml index 0d1368e4..488c80ff 100644 --- a/patches/zstd/Cargo.toml +++ b/patches/zstd/Cargo.toml @@ -7,7 +7,6 @@ repository = "https://github.com/serai-dex/serai/tree/develop/patches/zstd" authors = ["Luke Parker "] keywords = [] edition = "2021" -rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/processor/bin/Cargo.toml b/processor/bin/Cargo.toml index 116916ab..52ebaeb9 100644 --- a/processor/bin/Cargo.toml +++ b/processor/bin/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/bin/src/lib.rs b/processor/bin/src/lib.rs index 5403922e..ef83d7e0 100644 --- a/processor/bin/src/lib.rs +++ b/processor/bin/src/lib.rs @@ -36,7 +36,7 @@ db_channel! { /// The type used for the database. #[cfg(all(feature = "parity-db", not(feature = "rocksdb")))] -pub type Db = serai_db::ParityDb; +pub type Db = std::sync::Arc; /// The type used for the database. #[cfg(feature = "rocksdb")] pub type Db = serai_db::RocksDB; diff --git a/processor/bitcoin/Cargo.toml b/processor/bitcoin/Cargo.toml index 90b9566b..bc3a1dd0 100644 --- a/processor/bitcoin/Cargo.toml +++ b/processor/bitcoin/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/frost-attempt-manager/Cargo.toml b/processor/frost-attempt-manager/Cargo.toml index ad8d2a4c..2a397bac 100644 --- a/processor/frost-attempt-manager/Cargo.toml +++ b/processor/frost-attempt-manager/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = ["frost", "multisig", "threshold"] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/key-gen/Cargo.toml b/processor/key-gen/Cargo.toml index f1f00564..d5051168 100644 --- a/processor/key-gen/Cargo.toml +++ b/processor/key-gen/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/messages/Cargo.toml b/processor/messages/Cargo.toml index dbadd9db..03dc0441 100644 --- a/processor/messages/Cargo.toml +++ b/processor/messages/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/monero/Cargo.toml b/processor/monero/Cargo.toml index 6ea49a0c..d596bb9e 100644 --- a/processor/monero/Cargo.toml +++ b/processor/monero/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/primitives/Cargo.toml b/processor/primitives/Cargo.toml index 6dd3082b..6eba2e5b 100644 --- a/processor/primitives/Cargo.toml +++ b/processor/primitives/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true @@ -19,8 +20,8 @@ workspace = true [dependencies] group = { version = "0.13", default-features = false } -serai-primitives = { path = "../../substrate/primitives", default-features = false, features = ["std"] } -serai-coins-primitives = { path = "../../substrate/coins/primitives", default-features = false, features = ["std"] } +serai-primitives = { path = "../../substrate/primitives", default-features = false, features = ["std", "borsh"] } +serai-coins-primitives = { path = "../../substrate/coins/primitives", default-features = false, features = ["std", "borsh"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["std"] } borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] } diff --git a/processor/scanner/Cargo.toml b/processor/scanner/Cargo.toml index 09a6a937..c46adde3 100644 --- a/processor/scanner/Cargo.toml +++ b/processor/scanner/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/primitives/Cargo.toml b/processor/scheduler/primitives/Cargo.toml index f847300a..7540dc84 100644 --- a/processor/scheduler/primitives/Cargo.toml +++ b/processor/scheduler/primitives/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/smart-contract/Cargo.toml b/processor/scheduler/smart-contract/Cargo.toml index c43569fb..0a2a0ff2 100644 --- a/processor/scheduler/smart-contract/Cargo.toml +++ b/processor/scheduler/smart-contract/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/utxo/primitives/Cargo.toml b/processor/scheduler/utxo/primitives/Cargo.toml index 80b1f22e..d1f9c8cf 100644 --- a/processor/scheduler/utxo/primitives/Cargo.toml +++ b/processor/scheduler/utxo/primitives/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/scheduler/utxo/standard/Cargo.toml b/processor/scheduler/utxo/standard/Cargo.toml index d6c16161..e3d574ac 100644 --- a/processor/scheduler/utxo/standard/Cargo.toml +++ b/processor/scheduler/utxo/standard/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [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 0b1eb155..f8a676f8 100644 --- a/processor/scheduler/utxo/transaction-chaining/Cargo.toml +++ b/processor/scheduler/utxo/transaction-chaining/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/signers/Cargo.toml b/processor/signers/Cargo.toml index 65222896..07e42052 100644 --- a/processor/signers/Cargo.toml +++ b/processor/signers/Cargo.toml @@ -8,6 +8,7 @@ authors = ["Luke Parker "] keywords = [] edition = "2021" publish = false +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/processor/view-keys/Cargo.toml b/processor/view-keys/Cargo.toml index 6fdd9134..d76ca32b 100644 --- a/processor/view-keys/Cargo.toml +++ b/processor/view-keys/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/view-key authors = ["Luke Parker "] keywords = [] edition = "2021" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/abi/Cargo.toml b/substrate/abi/Cargo.toml index ea26485f..772cdd32 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/client/Cargo.toml b/substrate/client/Cargo.toml index f59c70fe..f8672718 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/coins/pallet/Cargo.toml b/substrate/coins/pallet/Cargo.toml index 8c59fb3e..f1afa1c1 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/coins/primitives/Cargo.toml b/substrate/coins/primitives/Cargo.toml index ec906929..ed160f9d 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/dex/pallet/Cargo.toml b/substrate/dex/pallet/Cargo.toml index 7e8a83e8..d27ffdeb 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/economic-security/pallet/Cargo.toml b/substrate/economic-security/pallet/Cargo.toml index cefeee8e..033a05fc 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.77" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/emissions/pallet/Cargo.toml b/substrate/emissions/pallet/Cargo.toml index a56bcee4..742dff08 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.77" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true @@ -54,7 +54,7 @@ std = [ "validator-sets-pallet/std", "dex-pallet/std", "genesis-liquidity-pallet/std", - + "economic-security-pallet/std", "serai-primitives/std", diff --git a/substrate/emissions/primitives/Cargo.toml b/substrate/emissions/primitives/Cargo.toml index 15ecbe25..077de439 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.77" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/genesis-liquidity/pallet/Cargo.toml b/substrate/genesis-liquidity/pallet/Cargo.toml index 3668b995..4162c038 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.77" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/genesis-liquidity/primitives/Cargo.toml b/substrate/genesis-liquidity/primitives/Cargo.toml index ec05bbd6..d026ccf4 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.77" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true @@ -36,7 +36,7 @@ std = [ "borsh?/std", "serde?/std", "scale-info/std", - + "serai-primitives/std", "validator-sets-primitives/std", diff --git a/substrate/in-instructions/pallet/Cargo.toml b/substrate/in-instructions/pallet/Cargo.toml index a12e38b3..27ecb7bd 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/in-instructions/primitives/Cargo.toml b/substrate/in-instructions/primitives/Cargo.toml index 54551134..bd926749 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/node/Cargo.toml b/substrate/node/Cargo.toml index 5da8ce85..5e6cd3f1 100644 --- a/substrate/node/Cargo.toml +++ b/substrate/node/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/substrate/node" authors = ["Luke Parker "] edition = "2021" publish = false -rust-version = "1.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/primitives/Cargo.toml b/substrate/primitives/Cargo.toml index 4a495b53..b9ebfcfa 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/runtime/Cargo.toml b/substrate/runtime/Cargo.toml index 9cd0f5ab..2d914ab1 100644 --- a/substrate/runtime/Cargo.toml +++ b/substrate/runtime/Cargo.toml @@ -6,7 +6,7 @@ license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/runtime" authors = ["Luke Parker "] edition = "2021" -rust-version = "1.74" +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 e06b5e6b..4c3e3407 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/signals/primitives/Cargo.toml b/substrate/signals/primitives/Cargo.toml index 1c338145..dbaba0a5 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/validator-sets/pallet/Cargo.toml b/substrate/validator-sets/pallet/Cargo.toml index e6f559e1..7f0a9850 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true diff --git a/substrate/validator-sets/primitives/Cargo.toml b/substrate/validator-sets/primitives/Cargo.toml index 844e6134..8eea9d55 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.74" +rust-version = "1.80" [package.metadata.docs.rs] all-features = true