81 lines
2.2 KiB
TOML
81 lines
2.2 KiB
TOML
[package]
|
|
name = "ethers"
|
|
version = "0.4.1"
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2018"
|
|
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",
|
|
]
|
|
|
|
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
|
|
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]
|
|
ethers-contract = { version = "0.4.7", default-features = false, path = "./ethers-contract" }
|
|
ethers-core = { version = "0.4.8", default-features = false, path = "./ethers-core", features = ["setup"] }
|
|
ethers-providers = { version = "0.4.6", default-features = false, path = "./ethers-providers" }
|
|
ethers-signers = { version = "0.4.6", default-features = false, path = "./ethers-signers" }
|
|
ethers-middleware = { version = "0.4.8", default-features = false, path = "./ethers-middleware" }
|
|
|
|
[dev-dependencies]
|
|
ethers-contract = { version = "0.4.7", default-features = false, path = "./ethers-contract", features = ["abigen"] }
|
|
ethers-providers = { version = "0.4.6", 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"] }
|