chore: add msrv to manifests, add and use workspace.package (#3006)

This commit is contained in:
DaniPopes
2023-06-06 05:45:44 +02:00
committed by GitHub
parent adf4328cec
commit 171166e84a
48 changed files with 306 additions and 300 deletions

View File

@ -1,9 +1,11 @@
[package]
name = "reth-net-common"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = """
Types shared across network code
"""

View File

@ -1,10 +1,11 @@
[package]
name = "reth-discv4"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = """
Ethereum network discovery
"""
@ -19,15 +20,8 @@ reth-net-nat = { path = "../nat" }
# ethereum
discv5 = { git = "https://github.com/sigp/discv5" }
secp256k1 = { version = "0.27.0", features = [
"global-context",
"rand-std",
"recovery",
"serde"
] }
enr = { version = "0.8.1", default-features = false, features = [
"rust-secp256k1",
] }
secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std", "recovery", "serde"] }
enr = { version = "0.8.1", default-features = false, features = ["rust-secp256k1"] }
# async/futures
tokio = { version = "1", features = ["io-util", "net", "time"] }

View File

@ -1,10 +1,11 @@
[package]
name = "reth-dns-discovery"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Support for EIP-1459 Node Discovery via DNS"
[dependencies]
@ -14,12 +15,7 @@ reth-net-common = { path = "../common" }
reth-rlp = { path = "../../rlp" }
# ethereum
secp256k1 = { version = "0.27.0", features = [
"global-context",
"rand-std",
"recovery",
"serde"
] }
secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std", "recovery", "serde"] }
enr = { version = "0.8.1", default-features = false, features = ["rust-secp256k1"] }
# async/futures

View File

@ -1,10 +1,11 @@
[package]
name = "reth-downloaders"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Implementations of various block downloaders"
[dependencies]

View File

@ -1,10 +1,11 @@
[package]
name = "reth-ecies"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
reth-rlp = { path = "../../rlp", features = ["derive", "ethereum-types", "std"] }

View File

@ -2,10 +2,11 @@
name = "reth-eth-wire"
description = "Implements the eth/64 and eth/65 P2P protocols"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
bytes = "1.4"
@ -16,11 +17,17 @@ serde = { version = "1", optional = true }
reth-codecs = { path = "../../storage/codecs" }
reth-primitives = { path = "../../primitives" }
reth-ecies = { path = "../ecies" }
reth-rlp = { path = "../../rlp", features = ["alloc", "derive", "std", "ethereum-types", "smol_str"] }
reth-rlp = { path = "../../rlp", features = [
"alloc",
"derive",
"std",
"ethereum-types",
"smol_str",
] }
reth-metrics = { path = "../../metrics" }
# used for Chain and builders
ethers-core = { version = "2.0.7", default-features = false}
ethers-core = { version = "2.0.7", default-features = false }
tokio = { version = "1.21.2", features = ["full"] }
tokio-util = { version = "0.7.4", features = ["io", "codec"] }
@ -40,7 +47,7 @@ proptest-derive = { version = "0.3", optional = true }
[dev-dependencies]
reth-primitives = { path = "../../primitives", features = ["arbitrary"] }
reth-tracing = { path = "../../tracing" }
ethers-core = { version = "2.0.7", default-features = false}
ethers-core = { version = "2.0.7", default-features = false }
test-fuzz = "3.0.4"
tokio-util = { version = "0.7.4", features = ["io", "codec"] }

View File

@ -1,9 +1,11 @@
[package]
name = "reth-net-nat"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = """
Helpers for working around NAT
"""
@ -13,10 +15,7 @@ Helpers for working around NAT
# nat
public-ip = "0.2"
## fork of rust-igd with ipv6 support: https://github.com/sbstp/rust-igd/issues/47
igd = { git = "https://github.com/stevefan1999-personal/rust-igd", features = [
"aio",
"tokio1",
] }
igd = { git = "https://github.com/stevefan1999-personal/rust-igd", features = ["aio", "tokio1"] }
# misc
tracing = { workspace = true }

View File

@ -1,10 +1,11 @@
[package]
name = "reth-network-api"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Network interfaces"
[dependencies]

View File

@ -1,10 +1,11 @@
[package]
name = "reth-network"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = """
Ethereum network support
"""
@ -12,7 +13,7 @@ Ethereum network support
[package.metadata.cargo-udeps.ignore]
normal = [
# Used for diagrams in docs
"aquamarine"
"aquamarine",
]
[dependencies]
@ -29,7 +30,7 @@ reth-rlp = { path = "../../rlp" }
reth-rlp-derive = { path = "../../rlp/rlp-derive" }
reth-tasks = { path = "../../tasks" }
reth-transaction-pool = { path = "../../transaction-pool" }
reth-provider = { path = "../../storage/provider"}
reth-provider = { path = "../../storage/provider" }
reth-metrics = { path = "../../metrics", features = ["common"] }
reth-rpc-types = { path = "../../rpc/rpc-types" }
@ -56,11 +57,7 @@ async-trait = "0.1"
linked_hash_set = "0.1"
linked-hash-map = "0.5.6"
rand = "0.8"
secp256k1 = { version = "0.27.0", features = [
"global-context",
"rand-std",
"recovery",
] }
secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std", "recovery"] }
enr = { version = "0.8.1", features = ["rust-secp256k1"], optional = true }
ethers-core = { version = "2.0.7", default-features = false, optional = true }
@ -79,10 +76,10 @@ reth-provider = { path = "../../storage/provider", features = ["test-utils"] }
reth-tracing = { path = "../../tracing" }
reth-transaction-pool = { path = "../../transaction-pool", features = ["test-utils"] }
ethers-core = { version = "2.0.7", default-features = false}
ethers-providers = {version = "2.0.7", default-features = false }
ethers-signers = {version = "2.0.7", default-features = false }
ethers-middleware = {version = "2.0.7", default-features = false }
ethers-core = { version = "2.0.7", default-features = false }
ethers-providers = { version = "2.0.7", default-features = false }
ethers-signers = { version = "2.0.7", default-features = false }
ethers-middleware = { version = "2.0.7", default-features = false }
enr = { version = "0.8.1", features = ["serde", "rust-secp256k1"] }
@ -95,4 +92,4 @@ serial_test = "0.10"
default = ["serde"]
serde = ["dep:serde", "dep:humantime-serde", "secp256k1/serde", "enr?/serde", "dep:serde_json"]
test-utils = ["reth-provider/test-utils", "dep:enr", "dep:ethers-core", "dep:tempfile"]
geth-tests = []
geth-tests = []