100 lines
2.6 KiB
TOML
100 lines
2.6 KiB
TOML
[package]
|
|
name = "ethers"
|
|
version = "0.5.4"
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
readme = "README.md"
|
|
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.
|
|
"""
|
|
|
|
[workspace]
|
|
members = [
|
|
"ethers-contract",
|
|
"ethers-providers",
|
|
"ethers-signers",
|
|
"ethers-core",
|
|
"ethers-middleware",
|
|
"ethers-etherscan",
|
|
"ethers-solc"
|
|
]
|
|
|
|
default-members = [
|
|
"ethers-contract",
|
|
"ethers-providers",
|
|
"ethers-signers",
|
|
"ethers-core",
|
|
"ethers-middleware",
|
|
"ethers-etherscan",
|
|
"ethers-solc"
|
|
]
|
|
|
|
exclude = [
|
|
"examples/ethers-wasm",
|
|
]
|
|
|
|
[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"
|
|
]
|
|
|
|
legacy = [
|
|
"ethers-core/legacy",
|
|
"ethers-contract/legacy"
|
|
]
|
|
|
|
# individual features per sub-crate
|
|
## core
|
|
eip712 = ["ethers-contract/eip712", "ethers-core/eip712"]
|
|
## 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"]
|
|
## solc
|
|
solc-async = ["ethers-solc/async"]
|
|
solc-full = ["ethers-solc/full"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
ethers-contract = { version = "^0.5.0", default-features = false, path = "./ethers-contract" }
|
|
ethers-core = { version = "^0.5.0", default-features = false, path = "./ethers-core" }
|
|
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" }
|
|
ethers-solc = { version = "^0.1.0", default-features = false, path = "./ethers-solc" }
|
|
|
|
[dev-dependencies]
|
|
ethers-contract = { version = "^0.5.0", default-features = false, path = "./ethers-contract", features = ["abigen", "eip712"] }
|
|
ethers-providers = { version = "^0.5.0", default-features = false, path = "./ethers-providers", features = ["ws", "ipc"] }
|
|
|
|
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"] }
|
|
hex = "0.4.3"
|
|
bytes = "1.1.0"
|