2023-03-16 19:28:35 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers"
|
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
|
|
readme = "../README.md"
|
|
|
|
description = "A complete Ethereum and Celo Rust library"
|
|
|
|
|
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
documentation.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
categories.workspace = true
|
|
|
|
keywords.workspace = true
|
|
|
|
exclude.workspace = true
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustc-args = ["--cfg", "docsrs"]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[package.metadata.playground]
|
|
|
|
all-features = true
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["abigen", "rustls"]
|
|
|
|
|
|
|
|
celo = [
|
|
|
|
"ethers-core/celo",
|
|
|
|
"ethers-providers/celo",
|
|
|
|
"ethers-signers/celo",
|
|
|
|
"ethers-contract/celo",
|
|
|
|
"ethers-middleware/celo",
|
|
|
|
"legacy",
|
|
|
|
]
|
|
|
|
|
|
|
|
legacy = ["ethers-core/legacy", "ethers-contract/legacy"]
|
|
|
|
|
|
|
|
# individual features per sub-crate
|
|
|
|
## providers
|
|
|
|
ws = ["ethers-providers/ws"]
|
|
|
|
ipc = ["ethers-providers/ipc"]
|
|
|
|
rustls = [
|
|
|
|
"ethers-middleware/rustls",
|
|
|
|
"ethers-providers/rustls",
|
|
|
|
"ethers-etherscan/rustls",
|
|
|
|
"ethers-contract/rustls",
|
|
|
|
"ethers-solc/rustls",
|
|
|
|
]
|
|
|
|
openssl = [
|
|
|
|
"ethers-middleware/openssl",
|
|
|
|
"ethers-providers/openssl",
|
|
|
|
"ethers-etherscan/openssl",
|
|
|
|
"ethers-contract/openssl",
|
|
|
|
"ethers-solc/openssl",
|
|
|
|
]
|
|
|
|
dev-rpc = ["ethers-providers/dev-rpc"]
|
|
|
|
## signers
|
|
|
|
ledger = ["ethers-signers/ledger"]
|
|
|
|
trezor = ["ethers-signers/trezor"]
|
|
|
|
yubi = ["ethers-signers/yubi"]
|
|
|
|
## contracts
|
|
|
|
abigen = ["ethers-contract/abigen"]
|
|
|
|
### abigen without reqwest
|
|
|
|
abigen-offline = ["ethers-contract/abigen-offline"]
|
|
|
|
## solc
|
2023-03-21 18:44:12 +00:00
|
|
|
solc-full = ["ethers-solc/full"]
|
|
|
|
solc-tests = ["ethers-solc/tests"]
|
2023-03-16 19:28:35 +00:00
|
|
|
|
|
|
|
# Deprecated
|
|
|
|
solc-sha2-asm = []
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
ethers-addressbook.workspace = true
|
|
|
|
ethers-contract.workspace = true
|
|
|
|
ethers-core.workspace = true
|
2023-03-21 18:44:12 +00:00
|
|
|
ethers-etherscan = { workspace = true, features = ["ethers-solc"] }
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-middleware.workspace = true
|
|
|
|
ethers-providers.workspace = true
|
|
|
|
ethers-signers.workspace = true
|
2023-03-21 21:38:41 +00:00
|
|
|
ethers-solc.workspace = true
|
2023-03-16 19:28:35 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-03-21 18:44:12 +00:00
|
|
|
serde.workspace = true
|
2023-03-21 21:38:41 +00:00
|
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
2023-03-25 00:48:29 +00:00
|
|
|
ethers-contract.workspace = true
|
2023-03-21 18:44:12 +00:00
|
|
|
ethers-providers = { workspace = true, features = ["rustls"] } # allow https connections
|
2023-03-21 21:38:41 +00:00
|
|
|
ethers-solc = { workspace = true, features = ["svm-solc"] }
|