Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
chore: updating cargo files
Browse files Browse the repository at this point in the history
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
  • Loading branch information
Freyskeyd committed Jan 18, 2023
1 parent 47edd7a commit c314e42
Show file tree
Hide file tree
Showing 21 changed files with 176 additions and 161 deletions.
3 changes: 0 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 36 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,52 @@ members = [
]

[workspace.dependencies]

topos-core = { path = "./crates/topos-core", default-features = false }

async-trait = { version = "0.1", default-features = false }
async-stream = { version = "0.3", default-features = false }
futures = { version = "0.3" }
libp2p = { version = "0.49", default-features = false, features = ["noise"]}
clap = { version = "4.0", features = ["derive", "env"] }
hyper = { version = "0.14", features = ["full"] }
rand = { version = "0.8", default-features = false }
rand_core = { version = "0.6", default-features = false }
rand_distr = { version = "0.4", default-features = false }
rstest = { version = "0.16", default-features = false }
serde = { version = "1.0", default-features = false }
thiserror = { version = "1.0", default-features = false }

# Async & Tokio related
async-stream = { version = "0.3", default-features = false }
async-trait = { version = "0.1", default-features = false }
futures = { version = "0.3" }
tokio = { version = "1.24", default-features = false }
tokio-stream = { version = "0.1", default-features = false }
tonic = { version = "0.8", default-features = false }
tower = "0.4"

# Blockchain
ethereum-types = { version = "0.12.1"}
secp256k1 = {version = "0.21.3", features = ["recovery"]}
web3 = { version = "0.18", features = ["signing"]}

# Log, Tracing & telemetry
opentelemetry = { version = "0.18", features = ["rt-tokio", "metrics"] }
opentelemetry-otlp = { version = " 0.11", features = ["tonic", "metrics"] }
pretty_env_logger = { version = "0.4", default-features = false }
tracing = { version = "0.1", default-features = false }
tracing-attributes = "0.1"
tracing-opentelemetry = "0.18"
tracing-subscriber = { version = "0.3", default-features = false }
ethereum-types = { version = "0.12.1"}
serde_json = { version = "1.0", default-features = false }

# gRPC
prost = {version = "0.11"}
tonic = { version = "0.8", default-features = false }

# P2P related
libp2p = { version = "0.49", default-features = false, features = ["noise"]}

# Serialization & Deserialization
bincode = { version = "1.3", default-features = false }
byteorder = { version = "1.4", default-features = false }
uuid = { version = "1.1.2", default-features = false, features = ["v4"] }
bytes = { version = "1.3", default-features = false }
hyper = { version = "0.14", features = ["full"] }
hex = { version = "0.4", default-features = false }
web3 = { version = "0.18", features = ["signing"]}
pretty_env_logger = { version = "0.4", default-features = false }
clap = { version = "4.0", features = ["derive", "env"] }
bincode = { version = "1.3", default-features = false }
prost = {version = "0.11"}
secp256k1 = {version = "0.21.3", features = ["recovery"]}
serde = { version = "1.0", default-features = false }
serde_json = { version = "1.0", default-features = false }
thiserror = { version = "1.0", default-features = false }
uuid = { version = "1.1.2", default-features = false, features = ["v4"] }

# Tests
rstest = { version = "0.16", default-features = false }
8 changes: 4 additions & 4 deletions crates/topos-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ tonic = { workspace = true, default-features = false, features = [
"transport",
] }
ethereum-types.workspace = true
uuid.workspace = true
hex.workspace = true
prost.workspace = true
uuid.workspace = true


[build-dependencies]
Expand All @@ -25,8 +25,8 @@ tonic-build = { version = "0.8", default-features = false, features = [
] }

[dev-dependencies]
tokio.workspace = true
async-stream.workspace = true
futures.workspace = true
tokio-stream.workspace = true
async-stream.workspace = true
tower = "0.4.13"
tokio.workspace = true
tower.workspace = true
10 changes: 4 additions & 6 deletions crates/topos-sequencer-certification/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ version = "0.1.0"
edition = "2021"

[dependencies]
serde = { workspace = true, features = ["derive"] }
byteorder.workspace = true
hex.workspace = true
rand = { workspace = true, features = ["default"] }
rand_core.workspace = true
rand_distr.workspace = true
serde = { workspace = true, features = ["derive"] }
thiserror.workspace = true
tokio = { workspace = true, features = [
"io-util",
Expand All @@ -19,12 +21,8 @@ tokio = { workspace = true, features = [
"time",
"sync",
] }
byteorder.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
hex.workspace = true
tracing.workspace = true

topos-sequencer-types = { package = "topos-sequencer-types", path = "../topos-sequencer-types" }
topos-core = { workspace = true, features = ["uci"] }


8 changes: 4 additions & 4 deletions crates/topos-sequencer-subnet-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ edition = "2021"
[dependencies]
topos-sequencer-types = { package = "topos-sequencer-types", path = "../topos-sequencer-types" }

thiserror.workspace = true
hex.workspace = true
serde_json.workspace = true
tracing.workspace = true
thiserror.workspace = true
tracing-subscriber.workspace = true
hex.workspace = true
tracing.workspace = true
web3.workspace = true
secp256k1.workspace = true

jsonrpsee-types = "0.14.0"
ethereum-tx-sign = "6.0.0"
jsonrpsee-types = "0.14.0"
keccak-hash = "0.9"
tiny-keccak = "1.2"
28 changes: 13 additions & 15 deletions crates/topos-sequencer-subnet-runtime-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ name = "create-keystore"
path = "src/keystore.rs"

[dependencies]
serde = { workspace = true, features = ["derive"] }
byteorder.workspace = true
clap.workspace = true
eth-keystore = "0.5.0"
ethereum-tx-sign = "6.0"
hex.workspace = true
rand = { workspace = true, features = ["default"] }
rand_core.workspace = true
rand_distr.workspace = true
serde = { workspace = true, features = ["derive"] }
thiserror.workspace = true
tokio = { workspace = true, features = [
"io-util",
Expand All @@ -24,25 +29,18 @@ tokio = { workspace = true, features = [
"time",
"sync",
] }
byteorder.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
hex.workspace = true
clap.workspace = true
eth-keystore = "0.5.0"
ethereum-tx-sign = "6.0"
tracing.workspace = true

topos-sequencer-types = { package = "topos-sequencer-types", path = "../topos-sequencer-types" }
topos-sequencer-subnet-client = { package = "topos-sequencer-subnet-client", path = "../topos-sequencer-subnet-client" }
topos-core = { workspace = true, features = ["uci"] }
topos-sequencer-subnet-client = { package = "topos-sequencer-subnet-client", path = "../topos-sequencer-subnet-client" }
topos-sequencer-types = { package = "topos-sequencer-types", path = "../topos-sequencer-types" }

[dev-dependencies]
dockertest = "0.3.1"
fs_extra = "1.2"
rstest.workspace = true
secp256k1 = { version = "0.21", features = ["recovery"]}
serde_json.workspace = true
web3.workspace = true
secp256k1.workspace = true
serial_test = "0.9"
dockertest = "0.3.1"

tiny-keccak = "1.2"
fs_extra = "1.2"
web3.workspace = true
Loading

0 comments on commit c314e42

Please sign in to comment.