forked from gakonst/ethers-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
141 lines (126 loc) · 4.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[workspace.package]
version = "2.0.7"
edition = "2021"
rust-version = "1.65"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
homepage = "https://github.com/gakonst/ethers-rs"
categories = ["cryptography::cryptocurrencies"]
keywords = ["crypto", "ethers", "ethereum", "web3", "celo"]
exclude = [
".github/",
"bin/",
"book/",
"**/tests/",
"**/test-data/",
"**/testdata/",
"examples",
"scripts/",
]
# https://docs.rs/about/metadata
[workspace.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# https://github.com/integer32llc/rust-playground/blob/c6165a36923db5d99313e6056b5b610a2ede5bb0/top-crates/src/lib.rs#L175-L184
[workspace.metadata.playground]
all-features = true
[workspace]
members = [
"ethers",
"ethers-addressbook",
"ethers-contract",
"ethers-contract/ethers-contract-abigen",
"ethers-contract/ethers-contract-derive",
"ethers-core",
"ethers-etherscan",
"ethers-middleware",
"ethers-providers",
"ethers-signers",
"ethers-solc",
# Example crates
"examples/*",
]
# Do not include example crates in default members
default-members = [
"ethers",
"ethers-addressbook",
"ethers-contract",
"ethers-contract/ethers-contract-abigen",
"ethers-contract/ethers-contract-derive",
"ethers-core",
"ethers-etherscan",
"ethers-middleware",
"ethers-providers",
"ethers-signers",
"ethers-solc",
]
# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"
[workspace.dependencies]
# workspace crates
ethers = { version = "2.0.7", path = "ethers", default-features = false }
ethers-addressbook = { version = "2.0.7", path = "ethers-addressbook", default-features = false }
ethers-contract = { version = "2.0.7", path = "ethers-contract", default-features = false }
ethers-core = { version = "2.0.7", path = "ethers-core", default-features = false }
ethers-etherscan = { version = "2.0.7", path = "ethers-etherscan", default-features = false }
ethers-middleware = { version = "2.0.7", path = "ethers-middleware", default-features = false }
ethers-providers = { version = "2.0.7", path = "ethers-providers", default-features = false }
ethers-signers = { version = "2.0.7", path = "ethers-signers", default-features = false }
ethers-solc = { version = "2.0.7", path = "ethers-solc", default-features = false }
ethers-contract-abigen = { version = "2.0.7", path = "ethers-contract/ethers-contract-abigen", default-features = false }
ethers-contract-derive = { version = "2.0.7", path = "ethers-contract/ethers-contract-derive", default-features = false }
# async / async utils
tokio = "1.28"
tokio-tungstenite = { version = "0.19", default-features = false }
futures = { version = "0.3.28", default-features = false, features = ["std"] }
futures-core = "0.3.28"
futures-util = "0.3.28"
futures-executor = "0.3.28"
futures-channel = "0.3.28"
futures-locks = { version = "0.7.1", default-features = false }
futures-timer = { version = "3.0.2", default-features = false, features = ["wasm-bindgen"] }
pin-project = "1.1"
reqwest = { version = "0.11.18", default-features = false }
url = { version = "2.3", default-features = false }
# crypto
elliptic-curve = { version = "0.13.4", default-features = false }
generic-array = { version = "0.14.7", default-features = false }
k256 = { version = "0.13.1", default-features = false, features = ["ecdsa", "std"] }
sha2 = { version = "0.10.6", default-features = false }
tiny-keccak = { version = "2.0.2", default-features = false }
spki = { version = "0.7.2", default-features = false }
# serde
serde = "1.0"
serde_json = "1.0"
# macros
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["extra-traits"] }
async-trait = "0.1.68"
auto_impl = "1.1"
# misc
bytes = "1.4"
criterion = "0.5"
dunce = "1.0"
eyre = "0.6"
hex = "0.4"
hex-literal = "0.4"
home = "0.5.5"
Inflector = "0.11"
once_cell = "1.17"
rand = "0.8"
rayon = "1.7"
regex = "1.8"
semver = "1.0"
tempfile = "3.5"
thiserror = "1.0"
toml = "0.7"
walkdir = "2.3"
# tracing
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", default-features = false }
tracing-futures = "0.2.5"
# wasm
instant = "0.1.12"