Skip to content

Commit

Permalink
chore(treewide): clean up cargo toml (#3609)
Browse files Browse the repository at this point in the history
- everything 0.0.0, nothing is published
- consistency in Cargo.toml layouts
- inherit more from workspace
- add a few more checks to `tidy`
  • Loading branch information
benluelo authored Jan 22, 2025
2 parents 2b7e377 + 4860dc3 commit 74dd5d7
Show file tree
Hide file tree
Showing 138 changed files with 1,284 additions and 570 deletions.
250 changes: 125 additions & 125 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ members = [
]

[workspace.package]
authors = ["Union Labs"]
edition = "2021"
license-file = "LICENSE"
publish = false
repository = "https://github.com/unionlabs/union"

[workspace.lints.clippy]
Expand Down
10 changes: 6 additions & 4 deletions cosmwasm/ibc-union/app/ucs00-pingpong/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union.fi Labs"]
name = "ibc-union-ucs00-pingpong"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ibc-union-ucs00-pingpong"
repository = "https://github.com/unionlabs/union"
version = "1.0.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
10 changes: 6 additions & 4 deletions cosmwasm/ibc-union/app/ucs03-zkgm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union.fi Labs"]
name = "ibc-union-ucs03-zkgm"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ibc-union-ucs03-zkgm"
repository = "https://github.com/unionlabs/union"
version = "1.0.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
10 changes: 6 additions & 4 deletions cosmwasm/ibc-union/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Hussein Ait Lahcen <[email protected]>"]
name = "ibc-union"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ibc-union"
repository = "https://github.com/unionlabs/union"
version = "1.0.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
19 changes: 11 additions & 8 deletions cosmwasm/ibc-union/core/light-client-interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
[package]
edition.workspace = true
license-file.workspace = true
name = "ibc-union-light-client"
repository.workspace = true
version = "0.1.0"
name = "ibc-union-light-client"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true

[dependencies]
cosmwasm-schema = { workspace = true }
Expand All @@ -16,6 +22,3 @@ serde = { workspace = true }
serde-utils.workspace = true
thiserror.workspace = true
unionlabs.workspace = true

[lints]
workspace = true
10 changes: 6 additions & 4 deletions cosmwasm/ibc-union/core/msg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Hussein Ait Lahcen <[email protected]>"]
name = "ibc-union-msg"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ibc-union-msg"
repository = "https://github.com/unionlabs/union"
version = "1.0.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/arbitrum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
name = "arbitrum-light-client"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "arbitrum-light-client"
publish = false
version = "0.1.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/berachain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
license = "BSL-1.1"
name = "berachain-light-client"
publish = false
version = "0.1.0"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/cometbls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
license = "BSL-1.1"
name = "cometbls-light-client"
publish = false
version = "0.1.0"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
name = "ethereum-light-client"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ethereum-light-client"
publish = false
version = "0.1.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/linea/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
name = "linea-light-client"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "linea-light-client"
publish = false
version = "0.1.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
13 changes: 8 additions & 5 deletions cosmwasm/ibc-union/light-clients/movement/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
[package]
name = "ibc-union-movement-lc"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ibc-union-movement-lc"
publish = { workspace = true }
repository = { workspace = true }
version = "0.1.0"

[lints]
workspace = true

[dependencies]
aptos-verifier = { workspace = true }
Expand All @@ -24,9 +30,6 @@ unionlabs = { workspace = true }
aptos-crypto = { workspace = true }
aptos-types = { workspace = true }

[lints]
workspace = true

[lib]
crate-type = ["cdylib", "rlib"]

Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/scroll/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
name = "scroll-light-client"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "scroll-light-client"
publish = false
version = "0.1.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/state-lens-ics23-mpt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
name = "state-lens-ics23-mpt-light-client"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "state-lens-ics23-mpt-light-client"
publish = false
version = "0.1.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
12 changes: 7 additions & 5 deletions cosmwasm/ibc-union/light-clients/tendermint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
license = "BSL-1.1"
name = "tendermint-light-client"
publish = false
version = "0.1.0"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
22 changes: 11 additions & 11 deletions cosmwasm/ics08-light-clients/cometbls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
license = "BSL-1.1"
name = "cometbls-light-client"
publish = false
version = "0.1.0"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand All @@ -16,20 +18,18 @@ test-include = ["cosmwasm/ics08-light-clients/cometbls/src/test"]
crate-type = ["cdylib", "rlib"]

[dependencies]
cometbls-groth16-verifier = { workspace = true }
cosmwasm-std = { workspace = true, features = ["abort", "iterator"] }
protos = { workspace = true, features = ["proto_full", "std"] }
thiserror = { workspace = true }

cometbls-groth16-verifier = { workspace = true }
cometbls-light-client-types = { workspace = true, features = ["proto"] }
cosmwasm-std = { workspace = true, features = ["abort", "iterator"] }
ics008-wasm-client = { workspace = true }
ics23 = { workspace = true }
protos = { workspace = true, features = ["proto_full", "std"] }
thiserror = { workspace = true }
unionlabs = { workspace = true, features = ["ethabi"] }

[dev-dependencies]
base64 = { workspace = true }
lazy_static = "1.4.0"
serde_json = { workspace = true }


[features]
12 changes: 7 additions & 5 deletions cosmwasm/ics08-light-clients/interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Union Labs"]
edition = "2021"
license = "BSL-1.1"
name = "ics008-wasm-client"
publish = false
version = "0.1.0"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
10 changes: 6 additions & 4 deletions cosmwasm/multicall/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Hussein Ait Lahcen <[email protected]>"]
name = "multicall"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "multicall"
repository = "https://github.com/unionlabs/union"
version = "1.0.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
9 changes: 7 additions & 2 deletions cosmwasm/token-factory-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[package]
edition = "2021"
name = "token-factory-api"
version = "0.1.0"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
10 changes: 6 additions & 4 deletions cosmwasm/ucs00-pingpong/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
authors = ["Hussein Ait Lahcen <[email protected]>"]
name = "ucs00-pingpong"
version = "0.0.0"

authors = { workspace = true }
edition = { workspace = true }
license-file = { workspace = true }
name = "ucs00-pingpong"
repository = "https://github.com/unionlabs/union"
version = "1.0.0"
publish = { workspace = true }
repository = { workspace = true }

[lints]
workspace = true
Expand Down
Loading

0 comments on commit 74dd5d7

Please sign in to comment.