Skip to content

Commit 87b10bd

Browse files
committed
Revert "chore: disable dev deps for release"
This reverts commit d8a1be6.
1 parent d8a1be6 commit 87b10bd

File tree

13 files changed

+523
-38
lines changed

13 files changed

+523
-38
lines changed

Cargo.lock

+416-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+16-7
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ repository = "https://github.com/gakonst/ethers-rs"
1111
homepage = "https://docs.rs/ethers"
1212
description = "Complete Ethereum library and wallet implementation in Rust."
1313

14-
[package.metadata.docs.rs]
15-
all-features = true
16-
rustdoc-args = ["--cfg", "docsrs"]
17-
18-
[package.metadata.playground]
19-
features = ["full"]
20-
2114
[workspace]
2215
members = [
2316
"ethers-addressbook",
@@ -42,6 +35,13 @@ default-members = [
4235
"ethers-solc",
4336
]
4437

38+
[package.metadata.docs.rs]
39+
all-features = true
40+
rustdoc-args = ["--cfg", "docsrs"]
41+
42+
[package.metadata.playground]
43+
features = ["full"]
44+
4545
[features]
4646
default = ["abigen"]
4747

@@ -98,6 +98,15 @@ ethers-middleware = { version = "^1.0.0", default-features = false, path = "./et
9898
ethers-solc = { version = "^1.0.0", default-features = false, path = "./ethers-solc", optional = true }
9999
ethers-etherscan = { version = "^1.0.0", default-features = false, path = "./ethers-etherscan" }
100100

101+
[dev-dependencies]
102+
ethers-contract = { version = "^1.0.0", default-features = false, path = "./ethers-contract", features = [
103+
"abigen",
104+
"eip712",
105+
] }
106+
ethers-providers = { version = "^1.0.0", default-features = false, path = "./ethers-providers", features = [
107+
"ws",
108+
] }
109+
101110
[target.'cfg(target_family = "unix")'.dev-dependencies]
102111
ethers-providers = { version = "^1.0.0", default-features = false, path = "./ethers-providers", features = [
103112
"ws",

ethers-contract/Cargo.toml

+17-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ homepage = "https://docs.rs/ethers"
1010
repository = "https://github.com/gakonst/ethers-rs"
1111
keywords = ["ethereum", "web3", "celo", "ethers"]
1212

13-
[package.metadata.docs.rs]
14-
all-features = true
15-
rustdoc-args = ["--cfg", "docsrs"]
16-
1713
[dependencies]
1814
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false }
1915
ethers-core = { version = "^1.0.0", path = "../ethers-core", default-features = false }
@@ -29,6 +25,19 @@ pin-project = { version = "1.0.11", default-features = false }
2925
futures-util = { version = "^0.3" }
3026
hex = { version = "0.4.3", default-features = false, features = ["std"] }
3127

28+
[dev-dependencies]
29+
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false, features = [
30+
"ws",
31+
] }
32+
ethers-signers = { version = "^1.0.0", path = "../ethers-signers" }
33+
ethers-contract-abigen = { version = "^1.0.0", path = "ethers-contract-abigen" }
34+
ethers-contract-derive = { version = "^1.0.0", path = "ethers-contract-derive" }
35+
ethers-core = { version = "^1.0.0", path = "../ethers-core", default-features = false, features = [
36+
"eip712",
37+
] }
38+
ethers-derive-eip712 = { version = "^1.0.0", path = "../ethers-core/ethers-derive-eip712" }
39+
ethers-solc = { version = "^1.0.0", path = "../ethers-solc", default-features = false }
40+
3241
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
3342
tokio = { version = "1.18", default-features = false, features = ["macros"] }
3443

@@ -43,3 +52,7 @@ legacy = []
4352

4453
rustls = ["ethers-contract-abigen/rustls"]
4554
openssl = ["ethers-contract-abigen/openssl"]
55+
56+
[package.metadata.docs.rs]
57+
all-features = true
58+
rustdoc-args = ["--cfg", "docsrs"]

ethers-contract/ethers-contract-abigen/Cargo.toml

+11-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ homepage = "https://docs.rs/ethers"
1212
repository = "https://github.com/gakonst/ethers-rs"
1313
keywords = ["ethereum", "web3", "celo", "ethers"]
1414

15-
[package.metadata.docs.rs]
16-
all-features = true
17-
rustdoc-args = ["--cfg", "docsrs"]
18-
1915
[dependencies]
2016
ethers-core = { version = "^1.0.0", path = "../../ethers-core", features = ["macros"] }
2117

@@ -38,7 +34,18 @@ regex = "1.6.0"
3834
# NOTE: this enables wasm compatibility for getrandom indirectly
3935
getrandom = { version = "0.2", features = ["js"] }
4036

37+
[package.metadata.docs.rs]
38+
all-features = true
39+
rustdoc-args = ["--cfg", "docsrs"]
40+
4141
[features]
4242
default = ["reqwest", "rustls"]
4343
openssl = ["reqwest/native-tls"]
4444
rustls = ["reqwest/rustls-tls"]
45+
46+
[dev-dependencies]
47+
tempfile = "3.2.0"
48+
ethers-solc = { version = "^1.0.0", path = "../../ethers-solc", default-features = false, features = [
49+
"project-util",
50+
"svm-solc",
51+
] }

ethers-contract/ethers-contract-derive/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ homepage = "https://docs.rs/ethers"
1212
repository = "https://github.com/gakonst/ethers-rs"
1313
keywords = ["ethereum", "web3", "celo", "ethers"]
1414

15-
[package.metadata.docs.rs]
16-
all-features = true
17-
rustdoc-args = ["--cfg", "docsrs"]
18-
1915
[lib]
2016
proc-macro = true
2117

@@ -28,3 +24,7 @@ hex = { version = "0.4.3", default-features = false, features = ["std"] }
2824
proc-macro2 = "1.0"
2925
quote = "1.0"
3026
syn = "1.0.12"
27+
28+
[package.metadata.docs.rs]
29+
all-features = true
30+
rustdoc-args = ["--cfg", "docsrs"]

ethers-core/Cargo.toml

+11-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ homepage = "https://docs.rs/ethers"
1010
repository = "https://github.com/gakonst/ethers-rs"
1111
keywords = ["ethereum", "web3", "celo", "ethers"]
1212

13-
[package.metadata.docs.rs]
14-
all-features = true
15-
rustdoc-args = ["--cfg", "docsrs"]
16-
1713
[dependencies]
1814
# Pin FastRLP to 0.1.2 when it was still Apache.
1915
open-fastrlp = { version = "=0.1.2", features = ["std", "derive", "ethereum-types"] }
@@ -49,8 +45,19 @@ syn = { version = "1.0.103", optional = true }
4945
proc-macro2 = { version = "1.0.47", optional = true }
5046
rust_decimal = { version = "1.26.1", features = ["maths"] }
5147

48+
[dev-dependencies]
49+
serde_json = { version = "1.0.64", default-features = false }
50+
bincode = { version = "1.3.3", default-features = false }
51+
once_cell = { version = "1.15.0" }
52+
hex-literal = "0.3.4"
53+
rand = "0.8.5"
54+
5255
[features]
5356
celo = ["legacy"] # celo support extends the transaction format with extra fields
5457
legacy = []
5558
eip712 = ["convert_case", "syn", "proc-macro2"]
5659
macros = ["syn", "cargo_metadata", "once_cell"]
60+
61+
[package.metadata.docs.rs]
62+
all-features = true
63+
rustdoc-args = ["--cfg", "docsrs"]

ethers-core/ethers-derive-eip712/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ syn = "1.0.77"
1414
ethers-core = { version = "^1.0.0", path = "../", default-features = false, features = ["eip712", "macros"] }
1515
hex = "0.4.3"
1616
serde_json = "1.0.68"
17+
18+
[dev-dependencies]
19+
ethers-contract-derive = { version = "^1.0.0", path = "../../ethers-contract/ethers-contract-derive" }

ethers-etherscan/Cargo.toml

+11-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ Rust API bindings for the etherscan.io web API
1717
"""
1818
keywords = ["ethereum", "web3", "etherscan", "ethers"]
1919

20-
[package.metadata.docs.rs]
21-
all-features = true
22-
rustdoc-args = ["--cfg", "docsrs"]
23-
2420
[dependencies]
2521
ethers-core = { version = "^1.0.0", path = "../ethers-core", default-features = false }
2622
ethers-solc = { version = "^1.0.0", path = "../ethers-solc", default-features = false, optional = true }
@@ -36,6 +32,17 @@ semver = "1.0.14"
3632
# NOTE: this enables wasm compatibility for getrandom indirectly
3733
getrandom = { version = "0.2", features = ["js"] }
3834

35+
[dev-dependencies]
36+
tempfile = "3.3.0"
37+
tokio = { version = "1.18", features = ["macros", "rt-multi-thread", "time"] }
38+
serial_test = "0.9.0"
39+
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
40+
ethers-solc = { version = "^1.0.0", path = "../ethers-solc", default-features = false }
41+
42+
[package.metadata.docs.rs]
43+
all-features = true
44+
rustdoc-args = ["--cfg", "docsrs"]
45+
3946
[features]
4047
default = ["rustls"]
4148
openssl = ["reqwest/native-tls"]

ethers-middleware/Cargo.toml

+11
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ instant = { version = "0.1.12", features = ["now"] }
4040
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
4141
tokio = { version = "1.18" }
4242

43+
[dev-dependencies]
44+
hex = { version = "0.4.3", default-features = false, features = ["std"] }
45+
rand = { version = "0.8.5", default-features = false }
46+
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false, features = [
47+
"ws",
48+
"rustls",
49+
] }
50+
once_cell = "1.15.0"
51+
ethers-solc = { version = "^1.0.0", path = "../ethers-solc" }
52+
serial_test = "0.9.0"
53+
4354
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
4455
tokio = { version = "1.18", default-features = false, features = ["rt", "macros", "time"] }
4556

ethers-providers/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ tokio-tungstenite = { version = "0.17.2", default-features = false, features = [
5050
"connect",
5151
], optional = true }
5252

53-
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
54-
tokio = { version = "1.18", default-features = false, features = ["rt", "macros", "time"] }
55-
tempfile = "3.3.0"
56-
5753
[target.'cfg(target_arch = "wasm32")'.dependencies]
5854
ws_stream_wasm = "0.7"
5955
wasm-bindgen = "0.2"
@@ -65,6 +61,10 @@ parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
6561
# NOTE: this enables wasm compatibility for getrandom indirectly
6662
getrandom = { version = "0.2", features = ["js"] }
6763

64+
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
65+
tokio = { version = "1.18", default-features = false, features = ["rt", "macros", "time"] }
66+
tempfile = "3.3.0"
67+
6868
[features]
6969
default = ["ws", "rustls"]
7070
celo = ["ethers-core/celo"]

ethers-signers/Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ spki = { version = "0.6.0", optional = true }
4343
eth-keystore = { version = "0.5.0" }
4444
home = { version = "0.5.4", optional = true }
4545

46+
[dev-dependencies]
47+
ethers-contract-derive = { version = "^1.0.0", path = "../ethers-contract/ethers-contract-derive" }
48+
ethers-derive-eip712 = { version = "^1.0.0", path = "../ethers-core/ethers-derive-eip712" }
49+
serde_json = { version = "1.0.64" }
50+
tracing-subscriber = "0.3.16"
51+
yubihsm = { version = "0.41.0", features = ["secp256k1", "usb", "mockhsm"] }
52+
4653
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
4754
yubihsm = { version = "0.41.0", features = ["secp256k1", "usb", "mockhsm"] }
4855
tokio = { version = "1.18", default-features = false, features = ["macros", "rt"] }

ethers-solc/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ svm-builds = { package = "svm-rs-builds", version = "0.1.8", optional = true }
5454
# NOTE: this enables wasm compatibility for getrandom indirectly
5555
getrandom = { version = "0.2", features = ["js"] }
5656

57+
[dev-dependencies]
58+
criterion = { version = "0.3", features = ["async_tokio"] }
59+
env_logger = "*"
60+
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
61+
rand = "0.8.5"
62+
pretty_assertions = "1.3.0"
63+
tempfile = "3.3.0"
64+
tokio = { version = "1.18", features = ["full"] }
65+
5766
[[bench]]
5867
name = "compile_many"
5968
harness = false

examples/ethers-wasm/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ wee_alloc = { version = "0.4.5", optional = true }
4343
web-sys = { version = "0.3.60", features = ["console"] }
4444

4545
hex = "0.4.3"
46+
47+
[dev-dependencies]
48+
wasm-bindgen-test = "0.3.33"

0 commit comments

Comments
 (0)