-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
109 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,53 +2,49 @@ | |
|
||
resolver = "2" | ||
|
||
members = ["basecoin", "basecoin/app", "basecoin/modules", "basecoin/store"] | ||
members = [ "basecoin", "basecoin/app", "basecoin/modules", "basecoin/store" ] | ||
|
||
[workspace.package] | ||
version = "0.1.0" | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
version = "0.1.0" | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
rust-version = "1.64" | ||
readme = "README.md" | ||
repository = "https://github.com/informalsystems/basecoin-rs" | ||
authors = ["Informal Systems <[email protected]>"] | ||
readme = "README.md" | ||
repository = "https://github.com/informalsystems/basecoin-rs" | ||
authors = [ "Informal Systems <[email protected]>" ] | ||
|
||
[workspace.dependencies] | ||
# external dependencies | ||
base64 = { version = "0.21.6", default-features = false, features = ["alloc"] } | ||
cosmrs = { version = "0.15.0" } | ||
displaydoc = { version = "0.2", default-features = false } | ||
derive_more = { version = "0.99.17", default-features = false, features = [ | ||
"from", | ||
"into", | ||
"display", | ||
] } | ||
ed25519 = { version = "2.1.0", default-features = false } | ||
prost = { version = "0.12", default-features = false } | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
sha2 = "0.10.2" | ||
tonic = "0.11" | ||
tonic-reflection = "0.11" | ||
tracing = "0.1.26" | ||
base64 = { version = "0.21.6", default-features = false, features = [ "alloc" ] } | ||
cosmrs = { version = "0.15.0" } | ||
displaydoc = { version = "0.2", default-features = false } | ||
derive_more = { version = "0.99.17", default-features = false, features = [ "from", "into", "display" ] } | ||
ed25519 = { version = "2.1.0", default-features = false } | ||
prost = { version = "0.12", default-features = false } | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
sha2 = "0.10.2" | ||
tonic = "0.11" | ||
tonic-reflection = "0.11" | ||
tracing = "0.1.26" | ||
tracing-subscriber = "0.3.16" | ||
|
||
# ibc dependencies | ||
ibc = { version = "0.51.0", default-features = false, features = ["serde"] } | ||
ibc = { version = "0.51.0", default-features = false, features = [ "serde" ] } | ||
ibc-query = { version = "0.51.0", default-features = false } | ||
ibc-proto = { version = "0.43.0", default-features = false } | ||
ics23 = { version = "0.11", default-features = false } | ||
ics23 = { version = "0.11", default-features = false } | ||
|
||
# tendermint dependencies | ||
tendermint = { version = "0.35", default-features = false } | ||
tendermint-abci = { version = "0.35", default-features = false } | ||
tendermint = { version = "0.35", default-features = false } | ||
tendermint-abci = { version = "0.35", default-features = false } | ||
tendermint-proto = { version = "0.35", default-features = false } | ||
tendermint-rpc = { version = "0.35", default-features = false } | ||
tendermint-rpc = { version = "0.35", default-features = false } | ||
|
||
# tower abci | ||
tower-abci = { version = "0.12" } | ||
|
||
[patch.crates-io] | ||
ibc = { git = "https://github.com/cosmos/ibc-rs", rev = "18375cb" } | ||
ibc-query = { git = "https://github.com/cosmos/ibc-rs", rev = "18375cb" } | ||
ibc = { git = "https://github.com/cosmos/ibc-rs", rev = "18375cb" } | ||
ibc-query = { git = "https://github.com/cosmos/ibc-rs", rev = "18375cb" } | ||
tower-abci = { git = "https://github.com/informalsystems/tower-abci", rev = "a4c021b" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
[package] | ||
name = "basecoin-app" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
repository = { workspace = true } | ||
authors = { workspace = true } | ||
description = """ | ||
name = "basecoin-app" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
repository = { workspace = true } | ||
authors = { workspace = true } | ||
description = """ | ||
Contains a simple implementation of the Tendermint ABCI application. | ||
""" | ||
|
||
[features] | ||
default = ["v0_37"] | ||
default = [ "v0_37" ] | ||
|
||
# Makes the application compatible with CometBFT v0.37 | ||
v0_37 = ["dep:tower-abci", "dep:tower"] | ||
v0_37 = [ "dep:tower-abci", "dep:tower" ] | ||
|
||
# Makes the application compatible with CometBFT v0.38 | ||
# (WIP) methods are not yet implemented | ||
v0_38 = ["dep:tendermint-abci"] | ||
v0_38 = [ "dep:tendermint-abci" ] | ||
|
||
[dependencies] | ||
# external dependencies | ||
cosmrs = { workspace = true } | ||
ibc-proto = { workspace = true, features = ["server", "proto-descriptor", "serde"] } | ||
prost = { workspace = true } | ||
serde_json = { workspace = true } | ||
tonic = { workspace = true } | ||
tracing = { workspace = true } | ||
tower-abci = { workspace = true, optional = true } | ||
tower = { version = "0.4", features = ["full"], optional = true } | ||
cosmrs = { workspace = true } | ||
ibc-proto = { workspace = true, features = [ "server", "proto-descriptor", "serde" ] } | ||
prost = { workspace = true } | ||
serde_json = { workspace = true } | ||
tonic = { workspace = true } | ||
tracing = { workspace = true } | ||
tower-abci = { workspace = true, optional = true } | ||
tower = { version = "0.4", features = [ "full" ], optional = true } | ||
|
||
# tedermint dependencies | ||
tendermint = { workspace = true } | ||
tendermint-abci = { workspace = true, optional = true } | ||
tendermint-proto = { workspace = true } | ||
tendermint = { workspace = true } | ||
tendermint-abci = { workspace = true, optional = true } | ||
tendermint-proto = { workspace = true } | ||
|
||
# internal dependencies | ||
basecoin-store = { path = "../store" } | ||
basecoin-modules = { path = "../modules" } | ||
basecoin-store = { path = "../store" } | ||
basecoin-modules = { path = "../modules" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
[package] | ||
name = "basecoin-store" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
repository = { workspace = true } | ||
authors = { workspace = true } | ||
name = "basecoin-store" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
repository = { workspace = true } | ||
authors = { workspace = true } | ||
description = """ | ||
A simple implementation of an AVL store tailored for the basecoin application. | ||
""" | ||
|
||
[dependencies] | ||
displaydoc = { workspace = true } | ||
ics23 = { workspace = true, features = ["host-functions"] } | ||
prost = { workspace = true } | ||
serde = { workspace = true } | ||
serde_json = { workspace = true } | ||
sha2 = { workspace = true } | ||
tendermint = { workspace = true } | ||
tracing = { workspace = true } | ||
displaydoc = { workspace = true } | ||
ics23 = { workspace = true, features = [ "host-functions" ] } | ||
prost = { workspace = true } | ||
serde = { workspace = true } | ||
serde_json = { workspace = true } | ||
sha2 = { workspace = true } | ||
tendermint = { workspace = true } | ||
tracing = { workspace = true } |