2021-08-21 12:34:21 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers"
|
2021-09-05 11:48:23 +00:00
|
|
|
version = "0.5.2"
|
2021-08-21 12:34:21 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
edition = "2018"
|
2021-08-28 23:53:10 +00:00
|
|
|
readme = "README.md"
|
2021-08-21 12:34:21 +00:00
|
|
|
documentation = "https://docs.rs/ethers"
|
|
|
|
repository = "https://github.com/gakonst/ethers-rs"
|
|
|
|
homepage = "https://docs.rs/ethers"
|
|
|
|
description = """
|
|
|
|
Complete Ethereum library and wallet implementation in Rust.
|
|
|
|
"""
|
2020-05-22 18:37:21 +00:00
|
|
|
|
2021-08-21 12:34:21 +00:00
|
|
|
[workspace]
|
2020-05-26 09:37:31 +00:00
|
|
|
members = [
|
2021-08-21 12:34:21 +00:00
|
|
|
"ethers-contract",
|
|
|
|
"ethers-providers",
|
|
|
|
"ethers-signers",
|
|
|
|
"ethers-core",
|
|
|
|
"ethers-middleware",
|
|
|
|
]
|
|
|
|
|
2021-08-28 00:54:46 +00:00
|
|
|
default-members = [
|
|
|
|
"ethers-contract",
|
|
|
|
"ethers-providers",
|
|
|
|
"ethers-signers",
|
|
|
|
"ethers-core",
|
|
|
|
"ethers-middleware",
|
|
|
|
]
|
|
|
|
|
2021-08-23 09:56:44 +00:00
|
|
|
exclude = [
|
|
|
|
"examples/ethers-wasm",
|
|
|
|
]
|
2021-08-21 12:34:21 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[package.metadata.playground]
|
|
|
|
features = ["full"]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
celo = [
|
|
|
|
"ethers-core/celo",
|
|
|
|
"ethers-providers/celo",
|
|
|
|
"ethers-signers/celo",
|
|
|
|
"ethers-contract/celo",
|
|
|
|
"ethers-middleware/celo",
|
|
|
|
"legacy"
|
2020-05-26 09:37:31 +00:00
|
|
|
]
|
2021-08-21 12:34:21 +00:00
|
|
|
|
|
|
|
legacy = [
|
|
|
|
"ethers-core/legacy",
|
|
|
|
"ethers-contract/legacy"
|
|
|
|
]
|
|
|
|
|
|
|
|
# individual features per sub-crate
|
|
|
|
## core
|
|
|
|
setup = ["ethers-core/setup"]
|
|
|
|
## providers
|
|
|
|
ws = ["ethers-providers/ws"]
|
|
|
|
ipc = ["ethers-providers/ipc"]
|
|
|
|
rustls = ["ethers-providers/rustls"]
|
|
|
|
openssl = ["ethers-providers/openssl"]
|
|
|
|
## signers
|
|
|
|
ledger = ["ethers-signers/ledger"]
|
|
|
|
yubi = ["ethers-signers/yubi"]
|
|
|
|
## contracts
|
|
|
|
abigen = ["ethers-contract/abigen"]
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2021-08-28 23:53:10 +00:00
|
|
|
ethers-contract = { version = "^0.5.0", default-features = false, path = "./ethers-contract" }
|
|
|
|
ethers-core = { version = "^0.5.0", default-features = false, path = "./ethers-core", features = ["setup"] }
|
|
|
|
ethers-providers = { version = "^0.5.0", default-features = false, path = "./ethers-providers" }
|
|
|
|
ethers-signers = { version = "^0.5.0", default-features = false, path = "./ethers-signers" }
|
|
|
|
ethers-middleware = { version = "^0.5.0", default-features = false, path = "./ethers-middleware" }
|
2021-08-21 12:34:21 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-08-28 23:53:10 +00:00
|
|
|
ethers-contract = { version = "^0.5.0", default-features = false, path = "./ethers-contract", features = ["abigen"] }
|
|
|
|
ethers-providers = { version = "^0.5.0", default-features = false, path = "./ethers-providers", features = ["ws", "ipc"] }
|
2021-08-21 12:34:21 +00:00
|
|
|
|
|
|
|
anyhow = "1.0.39"
|
|
|
|
rand = "0.8.4"
|
|
|
|
serde = { version = "1.0.124", features = ["derive"] }
|
|
|
|
serde_json = "1.0.64"
|
|
|
|
tokio = { version = "1.5", features = ["macros", "rt-multi-thread"] }
|