Skip to content

Commit

Permalink
Clean up changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Nov 29, 2024
1 parent 7e66e93 commit 0ef197e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ scale = { package = "parity-scale-codec", version = "3.7.0", default-features =
scale-decode = { version = "0.16.0", default-features = false }
scale-encode = { version = "0.10.0", default-features = false }
scale-info = { version = "2.11", default-features = false }
schemars = { version = "0.8", default-features = false }
secp256k1 = { version = "0.28.2", default-features = false }
schemars = { version = "0.8" }
secp256k1 = { version = "0.28.2" }
serde = { version = "1.0.215", default-features = false }
serde_json = { version = "1.0.133" }
sha2 = { version = "0.10" }
sha3 = { version = "0.10" }
static_assertions = { version = "1.1" }
subxt = { version = "0.38.0", default-features = false }
subxt-metadata = { version = "0.38.0", default-features = false }
subxt-signer = { version = "0.38.0", default-features = false }
syn = { version = "2", default-features = false }
subxt = { version = "0.38.0" }
subxt-metadata = { version = "0.38.0" }
subxt-signer = { version = "0.38.0" }
syn = { version = "2" }
synstructure = { version = "0.13.1" }
thiserror = { version = "1.0.69" }
tokio = { version = "1.41.1" }
Expand Down
9 changes: 4 additions & 5 deletions crates/env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ ink_primitives = { workspace = true }
pallet-contracts-uapi = { workspace = true }
pallet-revive-uapi = { workspace = true }

scale = { package = "parity-scale-codec", workspace = true, features = ["max-encoded-len"], default-features = false }
#scale = { package = "parity-scale-codec", workspace = true, features = ["max-encoded-len"], default-features = false }
scale = { workspace = true, features = ["max-encoded-len"] }
derive_more = { workspace = true, features = ["from", "display"] }
num-traits = { workspace = true, features = ["i128"] }
cfg-if = { workspace = true }
paste = { workspace = true }
static_assertions = { workspace = true }
const_env = { workspace = true }
xcm = { package = "staging-xcm", workspace = true }
xcm = { workspace = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
rlibc = "1"
Expand Down Expand Up @@ -82,8 +81,8 @@ std = [
# Enables hashing crates for off-chain environment.
"sha2",
"sha3",
"scale-decode",
"scale-encode",
"scale-decode",
"scale-encode",
"xcm/std",
"derive_more/std"
]
Expand Down
6 changes: 3 additions & 3 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
[dependencies]
derive_more = { workspace = true, features = ["from", "display"] }
ink_prelude = { workspace = true }
scale = { package = "parity-scale-codec", workspace = true, features = ["max-encoded-len"], default-features = false }
scale = { workspace = true, features = ["max-encoded-len"] }
scale-decode = { workspace = true, features = ["derive"], optional = true }
scale-encode = { workspace = true, features = ["derive"], optional = true }
scale-info = { workspace = true, features = ["derive"], optional = true }
Expand All @@ -27,10 +27,10 @@ xxhash-rust = { workspace = true, features = ["const_xxh32"] }
default = [ "std" ]
std = [
"ink_prelude/std",
"scale-decode",
"scale-encode",
"scale-info/std",
"scale/std",
"scale-decode",
"scale-encode",
"derive_more/std",
"xxhash-rust/std"
]

0 comments on commit 0ef197e

Please sign in to comment.