Skip to content

Commit

Permalink
format toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 30, 2024
1 parent 1ae1e4f commit 78924cd
Show file tree
Hide file tree
Showing 36 changed files with 1,166 additions and 1,168 deletions.
142 changes: 71 additions & 71 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,43 @@
resolver = "2"
# members sorted by publishing order to `crates.io`
members = [
"ibc-derive",
"ibc-primitives",
"ibc-core/ics24-host/types",
"ibc-core/ics26-routing/types",
"ibc-core/ics23-commitment/types",
"ibc-core/ics02-client/types",
"ibc-core/ics03-connection/types",
"ibc-core/ics04-channel/types",
"ibc-core/ics25-handler/types",
"ibc-core/ics02-client/context",
"ibc-core/ics24-host",
"ibc-core/ics26-routing",
"ibc-core/ics02-client",
"ibc-core/ics03-connection",
"ibc-core/ics04-channel",
"ibc-core/ics25-handler",
"ibc-core",
"ibc-clients/ics07-tendermint/types",
"ibc-clients/ics07-tendermint",
"ibc-clients/ics08-wasm/types",
"ibc-clients/cw-context",
"ibc-clients/ics07-tendermint/cw-contract",
"ibc-clients",
"ibc-apps/ics20-transfer/types",
"ibc-apps/ics20-transfer",
"ibc-apps/ics721-nft-transfer/types",
"ibc-apps/ics721-nft-transfer",
"ibc-apps",
"ibc-core/ics24-host/cosmos",
"ibc-data-types",
"ibc",
"ibc-query",
"ibc-testkit",
"ibc-derive",
"ibc-primitives",
"ibc-core/ics24-host/types",
"ibc-core/ics26-routing/types",
"ibc-core/ics23-commitment/types",
"ibc-core/ics02-client/types",
"ibc-core/ics03-connection/types",
"ibc-core/ics04-channel/types",
"ibc-core/ics25-handler/types",
"ibc-core/ics02-client/context",
"ibc-core/ics24-host",
"ibc-core/ics26-routing",
"ibc-core/ics02-client",
"ibc-core/ics03-connection",
"ibc-core/ics04-channel",
"ibc-core/ics25-handler",
"ibc-core",
"ibc-clients/ics07-tendermint/types",
"ibc-clients/ics07-tendermint",
"ibc-clients/ics08-wasm/types",
"ibc-clients/cw-context",
"ibc-clients/ics07-tendermint/cw-contract",
"ibc-clients",
"ibc-apps/ics20-transfer/types",
"ibc-apps/ics20-transfer",
"ibc-apps/ics721-nft-transfer/types",
"ibc-apps/ics721-nft-transfer",
"ibc-apps",
"ibc-core/ics24-host/cosmos",
"ibc-data-types",
"ibc",
"ibc-query",
"ibc-testkit",
]
exclude = [
"ci/cw-check",
"ci/no-std-check",
"ci/cw-check",
"ci/no-std-check",
]

[workspace.package]
Expand All @@ -48,45 +48,45 @@ edition = "2021"
rust-version = "1.71.1"
readme = "README.md"
repository = "https://github.com/cosmos/ibc-rs"
authors = ["Informal Systems <[email protected]>"]
authors = [ "Informal Systems <[email protected]>" ]

[workspace.dependencies]
# external dependencies
base64 = { version = "0.21", default-features = false }
borsh = { version = "0.10", default-features = false }
displaydoc = { version = "0.2", default-features = false }
prost = { version = "0.12", default-features = false }
derive_more = { version = "0.99.17", default-features = false, features = ["from", "into", "display", "try_into"] }
rstest = { version = "0.18.2"}
schemars = { version = "0.8.15" }
sha2 = { version = "0.10.8", default-features = false }
serde = { version = "1.0", default-features = false }
serde_json = { package = "serde-json-wasm", version = "1.0.1", default-features = false }
subtle-encoding = { version = "0.5", default-features = false }
base64 = { version = "0.21", default-features = false }
borsh = { version = "0.10", default-features = false }
displaydoc = { version = "0.2", default-features = false }
prost = { version = "0.12", default-features = false }
derive_more = { version = "0.99.17", default-features = false, features = [ "from", "into", "display", "try_into" ] }
rstest = { version = "0.18.2" }
schemars = { version = "0.8.15" }
sha2 = { version = "0.10.8", default-features = false }
serde = { version = "1.0", default-features = false }
serde_json = { package = "serde-json-wasm", version = "1.0.1", default-features = false }
subtle-encoding = { version = "0.5", default-features = false }

# ibc dependencies
ibc = { version = "0.52.0", path = "./ibc", default-features = false }
ibc-core = { version = "0.52.0", path = "./ibc-core", default-features = false }
ibc-clients = { version = "0.52.0", path = "./ibc-clients", default-features = false }
ibc-apps = { version = "0.52.0", path = "./ibc-apps", default-features = false }
ibc-primitives = { version = "0.52.0", path = "./ibc-primitives", default-features = false }
ibc-testkit = { version = "0.52.0", path = "./ibc-testkit", default-features = false }
ibc = { version = "0.52.0", path = "./ibc", default-features = false }
ibc-core = { version = "0.52.0", path = "./ibc-core", default-features = false }
ibc-clients = { version = "0.52.0", path = "./ibc-clients", default-features = false }
ibc-apps = { version = "0.52.0", path = "./ibc-apps", default-features = false }
ibc-primitives = { version = "0.52.0", path = "./ibc-primitives", default-features = false }
ibc-testkit = { version = "0.52.0", path = "./ibc-testkit", default-features = false }

ibc-derive = { version = "0.7.0", path = "./ibc-derive" }
ibc-derive = { version = "0.7.0", path = "./ibc-derive" }

ibc-core-client = { version = "0.52.0", path = "./ibc-core/ics02-client", default-features = false }
ibc-core-connection = { version = "0.52.0", path = "./ibc-core/ics03-connection", default-features = false }
ibc-core-channel = { version = "0.52.0", path = "./ibc-core/ics04-channel", default-features = false }
ibc-core-host = { version = "0.52.0", path = "./ibc-core/ics24-host", default-features = false }
ibc-core-handler = { version = "0.52.0", path = "./ibc-core/ics25-handler", default-features = false }
ibc-core-router = { version = "0.52.0", path = "./ibc-core/ics26-routing", default-features = false }
ibc-core-client = { version = "0.52.0", path = "./ibc-core/ics02-client", default-features = false }
ibc-core-connection = { version = "0.52.0", path = "./ibc-core/ics03-connection", default-features = false }
ibc-core-channel = { version = "0.52.0", path = "./ibc-core/ics04-channel", default-features = false }
ibc-core-host = { version = "0.52.0", path = "./ibc-core/ics24-host", default-features = false }
ibc-core-handler = { version = "0.52.0", path = "./ibc-core/ics25-handler", default-features = false }
ibc-core-router = { version = "0.52.0", path = "./ibc-core/ics26-routing", default-features = false }

ibc-client-cw = { version = "0.52.0", path = "./ibc-clients/cw-context", default-features = false }
ibc-client-tendermint = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint", default-features = false }
ibc-client-tendermint-cw = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint/cw-contract", default-features = false }
ibc-client-cw = { version = "0.52.0", path = "./ibc-clients/cw-context", default-features = false }
ibc-client-tendermint = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint", default-features = false }
ibc-client-tendermint-cw = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint/cw-contract", default-features = false }

ibc-app-transfer = { version = "0.52.0", path = "./ibc-apps/ics20-transfer", default-features = false }
ibc-app-nft-transfer = { version = "0.52.0", path = "./ibc-apps/ics721-nft-transfer", default-features = false }
ibc-app-transfer = { version = "0.52.0", path = "./ibc-apps/ics20-transfer", default-features = false }
ibc-app-nft-transfer = { version = "0.52.0", path = "./ibc-apps/ics721-nft-transfer", default-features = false }

ibc-core-client-context = { version = "0.52.0", path = "./ibc-core/ics02-client/context", default-features = false }
ibc-core-client-types = { version = "0.52.0", path = "./ibc-core/ics02-client/types", default-features = false }
Expand Down Expand Up @@ -116,11 +116,11 @@ tendermint-testgen = { version = "0.36.0", default-features = fals
### Note: Kept at the following version to match the CosmWasm module version
### used by chains supporting the wasm-enabled version of ibc-go v7.3
### (This is the min version of `ibc-go` that supports `08-wasm` light clients)
cosmwasm-schema = { version = "1.5.4" }
cosmwasm-std = { version = "1.5.4" }
cosmwasm-vm = { version = "1.5.4" }
cw-storage-plus = { version = "1.2.0" }
cosmwasm-schema = { version = "1.5.4" }
cosmwasm-std = { version = "1.5.4" }
cosmwasm-vm = { version = "1.5.4" }
cw-storage-plus = { version = "1.2.0" }

# parity dependencies
parity-scale-codec = { version = "3.6.5", default-features = false, features = ["full"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
parity-scale-codec = { version = "3.6.5", default-features = false, features = [ "full" ] }
scale-info = { version = "2.10.0", default-features = false, features = [ "derive" ] }
28 changes: 14 additions & 14 deletions ci/cw-check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[package]
edition = "2021"
name = "cw-check"
name = "cw-check"
version = "0.1.0"

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

[dependencies]
ibc-apps = { path = "../../ibc-apps", default_features = false, features = ["serde", "parity-scale-codec"] }
ibc-core = { path = "../../ibc-core", features = ["serde", "parity-scale-codec", "schema"] }
cosmwasm-std = { version = "1.5.4", default-features = false }
ibc-apps = { path = "../../ibc-apps", default_features = false, features = [ "serde", "parity-scale-codec" ] }
ibc-core = { path = "../../ibc-core", features = [ "serde", "parity-scale-codec", "schema" ] }
cosmwasm-std = { version = "1.5.4", default-features = false }
cosmwasm-schema = { version = "1.5.4", default-features = false }
serde_json = { package = "serde-json-wasm", version = "^1.0.1", default-features = false }
thiserror = { version = "^1.0", default-features = false }
serde_json = { package = "serde-json-wasm", version = "^1.0.1", default-features = false }
thiserror = { version = "^1.0", default-features = false }

[profile.release]
lto = true
codegen-units = 1
debug = false
lto = true
codegen-units = 1
debug = false
debug-assertions = false
opt-level = "s"
overflow-checks = true
panic = "abort"
rpath = false
opt-level = "s"
overflow-checks = true
panic = "abort"
rpath = false
22 changes: 11 additions & 11 deletions ci/no-std-check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
[package]
name = "no-std-check"
version = "0.1.0"
edition = "2021"
name = "no-std-check"
version = "0.1.0"
edition = "2021"
resolver = "2"

[dependencies]
ibc = { path = "../../ibc", default-features = false, features = ["serde"] }
ibc = { path = "../../ibc", default-features = false, features = [ "serde" ] }
ibc-proto = { version = "0.44", default-features = false, features = [
"parity-scale-codec",
"borsh",
"serde",
] }
tendermint = { version = "0.36", default-features = false }
tendermint-proto = { version = "0.36", default-features = false }
tendermint-light-client-verifier = { version = "0.36", default-features = false, features = ["rust-crypto"] }
tendermint-light-client-verifier = { version = "0.36", default-features = false, features = [ "rust-crypto" ] }

sp-core = { version = "32.0", default-features = false, optional = true }
sp-io = { version = "34.0", default-features = false, optional = true }
sp-core = { version = "32.0", default-features = false, optional = true }
sp-io = { version = "34.0", default-features = false, optional = true }
sp-runtime = { version = "35.0", default-features = false, optional = true }
sp-std = { version = "14.0", default-features = false, optional = true }
sp-std = { version = "14.0", default-features = false, optional = true }

# The indirect dependency `syn` 2.0.4 has a bug that causes
# compilation errors in `tendermint`. This is fixed in 2.0.5.
# See https://github.com/informalsystems/tendermint-rs/issues/1286
syn = ">=2.0.5"

[features]
panic-handler = []
use-substrate = ["sp-core", "sp-io", "sp-runtime", "sp-std"]
substrate-std = ["sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std"]
panic-handler = [ ]
use-substrate = [ "sp-core", "sp-io", "sp-runtime", "sp-std" ]
substrate-std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std" ]
24 changes: 12 additions & 12 deletions ibc-apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
keywords = ["blockchain", "cosmos", "ibc", "applications", "token-transfer"]
keywords = [ "blockchain", "cosmos", "ibc", "applications", "token-transfer" ]
readme = "README.md"

description = """
description = """
Maintained by `ibc-rs`, re-exports a comprehensive set of libraries that implement various
IBC applications, enabling smooth integration of IBC business logic into any blockchain system.
"""
Expand All @@ -22,25 +22,25 @@ ibc-app-transfer = { workspace = true }
ibc-app-nft-transfer = { workspace = true, optional = true, features = [ "std", "serde", "schema", "borsh", "parity-scale-codec" ] }

[features]
default = ["std"]
default = [ "std" ]
std = [
"ibc-app-transfer/std",
"nft-transfer",
"ibc-app-transfer/std",
"nft-transfer",
]
serde = [
"ibc-app-transfer/serde",
"ibc-app-transfer/serde",
]
schema = [
"ibc-app-transfer/schema",
"serde",
"std",
"ibc-app-transfer/schema",
"serde",
"std",
]
borsh = [
"ibc-app-transfer/borsh",
"ibc-app-transfer/borsh",
]
parity-scale-codec = [
"ibc-app-transfer/parity-scale-codec",
"ibc-app-transfer/parity-scale-codec",
]
nft-transfer = [
"ibc-app-nft-transfer"
"ibc-app-nft-transfer",
]
36 changes: 18 additions & 18 deletions ibc-apps/ics20-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
keywords = ["blockchain", "cosmos", "ibc", "transfer", "ics20"]
keywords = [ "blockchain", "cosmos", "ibc", "transfer", "ics20" ]
readme = "./../README.md"

description = """
description = """
Maintained by `ibc-rs`, contains the implementation of the ICS-20 Fungible Token Transfer
application logic and re-exports essential data structures and domain types from
`ibc-app-transfer-types` crate.
Expand All @@ -20,7 +20,7 @@ all-features = true

[dependencies]
# external dependencies
serde_json = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }

# ibc dependencies
ibc-core = { workspace = true }
Expand All @@ -30,28 +30,28 @@ ibc-app-transfer-types = { workspace = true }
subtle-encoding = { workspace = true }

[features]
default = ["std"]
default = [ "std" ]
std = [
"ibc-app-transfer-types/std",
"ibc-core/std",
"serde_json/std",
"ibc-app-transfer-types/std",
"ibc-core/std",
"serde_json/std",
]
serde = [
"ibc-app-transfer-types/serde",
"ibc-core/serde",
"serde_json"
"ibc-app-transfer-types/serde",
"ibc-core/serde",
"serde_json",
]
schema = [
"ibc-app-transfer-types/schema",
"ibc-core/schema",
"serde",
"std",
"ibc-app-transfer-types/schema",
"ibc-core/schema",
"serde",
"std",
]
borsh = [
"ibc-app-transfer-types/borsh",
"ibc-core/borsh",
"ibc-app-transfer-types/borsh",
"ibc-core/borsh",
]
parity-scale-codec = [
"ibc-app-transfer-types/parity-scale-codec",
"ibc-core/parity-scale-codec",
"ibc-app-transfer-types/parity-scale-codec",
"ibc-core/parity-scale-codec",
]
Loading

0 comments on commit 78924cd

Please sign in to comment.