Skip to content

Commit

Permalink
Use serde from workspace (#4833)
Browse files Browse the repository at this point in the history
* cargo autoinherit for serde

* cargo autoinherit for bs58 and vergen in cosmwasm-smart-contracts
  • Loading branch information
octol authored Sep 16, 2024
1 parent 05d6652 commit 086611c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ thiserror = { workspace = true }
serde_json = { workspace = true }

[build-dependencies]
vergen = { version = "=8.3.1", features = ["build", "git", "gitcl", "rustc", "cargo"] }
vergen = { workspace = true, features = ["build", "git", "gitcl", "rustc", "cargo"] }
6 changes: 2 additions & 4 deletions common/cosmwasm-smart-contracts/group-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ version = "0.1.0"
edition = "2021"
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cosmwasm-schema = { workspace = true }
cw4 = { workspace = true }
cw-controllers = { workspace = true }
cw4 = { workspace = true }
schemars = { workspace = true }
serde = { version = "1.0.210", default-features = false, features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
2 changes: 1 addition & 1 deletion common/cosmwasm-smart-contracts/mixnet-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = { workspace = true }
repository = { workspace = true }

[dependencies]
bs58 = "0.5.1"
bs58 = { workspace = true }
cosmwasm-std = { workspace = true }
cosmwasm-schema = { workspace = true }
cw-controllers = { workspace = true }
Expand Down
10 changes: 4 additions & 6 deletions common/cosmwasm-smart-contracts/multisig-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ version = "0.1.0"
edition = "2021"
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }
cw-storage-plus = { workspace = true }
cw-utils = { workspace = true }
cw3 = { workspace = true }
cw4 = { workspace = true }
cw-storage-plus = { workspace = true }
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }
schemars = { workspace = true }
serde = { version = "1.0.210", default-features = false, features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
2 changes: 1 addition & 1 deletion common/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ x25519-dalek = { workspace = true, features = ["static_secrets"], optional = tru
ed25519-dalek = { workspace = true, features = ["rand_core"], optional = true }
rand = { workspace = true, optional = true }
serde_bytes = { workspace = true, optional = true }
serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
serde = { workspace = true, features = ["derive"], optional = true }
subtle-encoding = { workspace = true, features = ["bech32-preview"] }
thiserror = { workspace = true }
zeroize = { workspace = true, optional = true, features = ["zeroize_derive"] }
Expand Down
2 changes: 1 addition & 1 deletion common/nymsphinx/acknowledgements/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = { workspace = true }

[dependencies]
rand = { workspace = true }
serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
serde = { workspace = true, features = ["derive"], optional = true }
generic-array = { workspace = true, optional = true, features = ["serde"] }
thiserror = { workspace = true }
zeroize = { workspace = true }
Expand Down

0 comments on commit 086611c

Please sign in to comment.