diff --git a/contracts/Cargo.toml b/contracts/Cargo.toml index 7c503f972..dcd0af83f 100644 --- a/contracts/Cargo.toml +++ b/contracts/Cargo.toml @@ -1,7 +1,9 @@ [workspace] resolver = "2" + # Keep in the lexicographic order! # Remove a member if it's used as a dependency in the workspace. + members = [ "battle", "battle/warrior/wasm", @@ -54,7 +56,6 @@ publish = false battleship-bot.path = "battleship/bot" rmrk-catalog.path = "rmrk/catalog" -syndote-player.path = "syndote/player" tamagotchi.path = "tamagotchi" # Local states @@ -67,21 +68,16 @@ tamagotchi-battle-state.path = "tamagotchi-battle/state" # Keep in the lexicographic order! battleship-io.path = "battleship/io" -car-races-io.path = "car-races/io" -multi-token-io.path = "multi-token/io" rmrk-catalog-io.path = "rmrk/catalog/io" rmrk-io.path = "rmrk/io" rmrk-resource-io.path = "rmrk/resource/io" -rock-paper-scissors-io.path = "rock-paper-scissors/io" -syndote-io.path = "syndote/io" -syndote-player-io.path = "syndote/player/io" tamagotchi-io.path = "tamagotchi/io" tamagotchi-battle-io.path = "tamagotchi-battle/io" tequila-train-io.path = "tequila-train/io" -w3bstreaming-io.path = "w3bstreaming/io" # Local libraries # Keep in the lexicographic order! + rmrk-types.path = "rmrk/types" # Gear @@ -109,22 +105,9 @@ primitive-types = { version = "0.12", default-features = false } sp-core = { version = "21.0.0", default-features = false, features = ["full_crypto", "sp-externalities"] } sp-core-hashing = { version = "10", default-features = false } tokio = "1" -blake2-rfc = "0.2" hex-literal = "0.4" hex = { version = "0.4", default-features = false } -async-trait = "0.1" -rand = { version = "0.8", default-features = false } -rand_xoshiro = "0.6" -indexmap = { version = "2", default-features = false } -ahash = { version = "0.8", default-features = false, features = ["no-rng"] } schnorrkel = { version = "0.10", default-features = false, features = ["u64_backend"] } -syn = { version = "2", default-features = false } quote = "1" -clap = { version = "4", default-features = false, features = ["std"] } -enum-iterator = "1" -xshell = "0.2" -anyhow = "1" -sha2 = "0.10" -num-traits = { version = "0.2", default-features = false } scale-info = { version = "2", default-features = false } parity-scale-codec = { version = "3", default-features = false } diff --git a/contracts/battle/Cargo.toml b/contracts/battle/Cargo.toml index acd90d1f5..cfce1f73e 100644 --- a/contracts/battle/Cargo.toml +++ b/contracts/battle/Cargo.toml @@ -13,7 +13,7 @@ battle-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } gtest.workspace = true gstd.workspace = true -tokio = { version = "1.39", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [build-dependencies] battle-app = { path = "app" } diff --git a/contracts/car-races/Cargo.toml b/contracts/car-races/Cargo.toml index c0756ea97..95cd0e809 100644 --- a/contracts/car-races/Cargo.toml +++ b/contracts/car-races/Cargo.toml @@ -17,7 +17,7 @@ gtest.workspace = true car-races = { path = ".", features = ["wasm-binary"] } car-races-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [features] wasm-binary = [] diff --git a/contracts/concert/Cargo.toml b/contracts/concert/Cargo.toml index bf66bec5f..cda47bdf3 100644 --- a/contracts/concert/Cargo.toml +++ b/contracts/concert/Cargo.toml @@ -17,7 +17,7 @@ extended-vmt.workspace = true concert = { path = ".", features = ["wasm-binary"] } concert-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } extended-vmt-client.workspace = true [features] diff --git a/contracts/galactic-express/Cargo.toml b/contracts/galactic-express/Cargo.toml index b17f9768b..b5c196cf7 100644 --- a/contracts/galactic-express/Cargo.toml +++ b/contracts/galactic-express/Cargo.toml @@ -16,7 +16,7 @@ sails-idl-gen.workspace = true galactic-express = { path = ".", features = ["wasm-binary"] } sails-rs = { workspace = true, features = ["gtest"] } galactic-express-client = { path = "client" } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } gstd.workspace = true [features] diff --git a/contracts/galactic-express/app/Cargo.toml b/contracts/galactic-express/app/Cargo.toml index 2acefe283..f71e6894f 100644 --- a/contracts/galactic-express/app/Cargo.toml +++ b/contracts/galactic-express/app/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] sails-rs.workspace = true gstd = { workspace = true, features = ["debug"] } -num-traits.workspace = true +num-traits = { version = "0.2", default-features = false } diff --git a/contracts/nft-marketplace/Cargo.toml b/contracts/nft-marketplace/Cargo.toml index fc751d3c6..c81c90554 100644 --- a/contracts/nft-marketplace/Cargo.toml +++ b/contracts/nft-marketplace/Cargo.toml @@ -17,8 +17,8 @@ nft-marketplace = { path = ".", features = ["wasm-binary"] } nft-marketplace-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } tokio = { workspace = true, features = ["rt", "macros"] } -extended-vft = { git = "https://github.com/gear-foundation/standards/"} -extended-vnft = { git = "https://github.com/gear-foundation/standards/"} +extended-vft.workspace = true +extended-vnft.workspace = true extended-vnft-client.workspace = true extended-vft-client.workspace = true diff --git a/contracts/oracle/Cargo.toml b/contracts/oracle/Cargo.toml index 1ee6bcb28..43a7b1b55 100644 --- a/contracts/oracle/Cargo.toml +++ b/contracts/oracle/Cargo.toml @@ -15,7 +15,7 @@ sails-idl-gen.workspace = true oracle = { path = ".", features = ["wasm-binary"] } oracle-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [features] wasm-binary = [] diff --git a/contracts/oracle/randomness/Cargo.toml b/contracts/oracle/randomness/Cargo.toml index 02892d61b..f7ea737a8 100644 --- a/contracts/oracle/randomness/Cargo.toml +++ b/contracts/oracle/randomness/Cargo.toml @@ -15,7 +15,7 @@ sails-idl-gen.workspace = true randomness = { path = ".", features = ["wasm-binary"] } randomness-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [features] wasm-binary = [] diff --git a/contracts/syndote/app/Cargo.toml b/contracts/syndote/app/Cargo.toml index fcfc98be1..6562db3dd 100644 --- a/contracts/syndote/app/Cargo.toml +++ b/contracts/syndote/app/Cargo.toml @@ -11,4 +11,4 @@ sails-rs = { workspace = true, features = ["gtest"] } [dev-dependencies] gclient.workspace = true syndote = { path = "../wasm" } -tokio = "1" +tokio.workspace = true diff --git a/contracts/tequila-train/io/Cargo.toml b/contracts/tequila-train/io/Cargo.toml index e090c6a4b..af6f97bc2 100644 --- a/contracts/tequila-train/io/Cargo.toml +++ b/contracts/tequila-train/io/Cargo.toml @@ -7,6 +7,6 @@ publish.workspace = true [dependencies] gmeta.workspace = true gstd.workspace = true -enum-iterator.workspace = true parity-scale-codec.workspace = true scale-info.workspace = true +enum-iterator = "1" diff --git a/contracts/tic-tac-toe/Cargo.toml b/contracts/tic-tac-toe/Cargo.toml index 502de1563..2055653fa 100644 --- a/contracts/tic-tac-toe/Cargo.toml +++ b/contracts/tic-tac-toe/Cargo.toml @@ -16,7 +16,7 @@ sails-idl-gen.workspace = true tic-tac-toe = { path = ".", features = ["wasm-binary"] } tic-tac-toe-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [features] wasm-binary = [] diff --git a/contracts/upgrade-proxy/counter/Cargo.toml b/contracts/upgrade-proxy/counter/Cargo.toml index 7e8caf675..73edbb909 100644 --- a/contracts/upgrade-proxy/counter/Cargo.toml +++ b/contracts/upgrade-proxy/counter/Cargo.toml @@ -15,7 +15,7 @@ sails-idl-gen.workspace = true counter = { path = ".", features = ["wasm-binary"] } counter-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [features] wasm-binary = [] diff --git a/contracts/upgrade-proxy/upgrade-proxy/Cargo.toml b/contracts/upgrade-proxy/upgrade-proxy/Cargo.toml index 4f76fc96d..1418666d8 100644 --- a/contracts/upgrade-proxy/upgrade-proxy/Cargo.toml +++ b/contracts/upgrade-proxy/upgrade-proxy/Cargo.toml @@ -15,7 +15,7 @@ sails-idl-gen.workspace = true proxy = { path = ".", features = ["wasm-binary"] } proxy-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } counter = { path ="../counter", features = ["wasm-binary"] } counter-client = { path = "../counter/client" } diff --git a/contracts/vara-man/Cargo.toml b/contracts/vara-man/Cargo.toml index fd645b2c4..d79c4514e 100644 --- a/contracts/vara-man/Cargo.toml +++ b/contracts/vara-man/Cargo.toml @@ -16,7 +16,7 @@ sails-idl-gen.workspace = true vara-man = { path = ".", features = ["wasm-binary"] } vara-man-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } gtest.workspace = true extended-vft-client.workspace = true diff --git a/contracts/varatube/Cargo.toml b/contracts/varatube/Cargo.toml index 1fe9fde37..2c04ec7b6 100644 --- a/contracts/varatube/Cargo.toml +++ b/contracts/varatube/Cargo.toml @@ -16,7 +16,7 @@ sails-idl-gen.workspace = true varatube = { path = ".", features = ["wasm-binary"] } varatube-client = { path = "client" } sails-rs = { workspace = true, features = ["gtest"] } -tokio = { version = "1.41", features = ["rt", "macros"] } +tokio = { workspace = true, features = ["rt", "macros"] } [features] wasm-binary = []