ethers-rs/ethers-contract/Cargo.toml

59 lines
2.5 KiB
TOML
Raw Permalink Normal View History

2020-05-26 09:37:31 +00:00
[package]
name = "ethers-contract"
2022-11-27 20:27:57 +00:00
version = "1.0.2"
2020-05-26 09:37:31 +00:00
edition = "2018"
2022-09-18 15:45:45 +00:00
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Smart contract bindings for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
keywords = ["ethereum", "web3", "celo", "ethers"]
2020-05-26 09:37:31 +00:00
[dependencies]
2022-10-25 18:03:00 +00:00
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false }
2022-10-25 18:02:59 +00:00
ethers-core = { version = "^1.0.0", path = "../ethers-core", default-features = false }
2022-10-25 18:02:59 +00:00
ethers-contract-abigen = { version = "^1.0.0", path = "ethers-contract-abigen", default-features = false, optional = true }
2022-10-25 18:02:59 +00:00
ethers-contract-derive = { version = "^1.0.0", path = "ethers-contract-derive", optional = true }
2022-10-25 18:03:00 +00:00
ethers-derive-eip712 = { version = "^1.0.0", path = "../ethers-core/ethers-derive-eip712", optional = true }
serde = { version = "1.0.124", default-features = false }
serde_json = { version = "1.0.64", default-features = false }
thiserror = { version = "1.0", default-features = false }
once_cell = { version = "1.16.0" }
2022-09-18 15:45:45 +00:00
pin-project = { version = "1.0.11", default-features = false }
futures-util = { version = "^0.3" }
hex = { version = "0.4.3", default-features = false, features = ["std"] }
[dev-dependencies]
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false, features = [
"ws",
] }
ethers-signers = { version = "^1.0.0", path = "../ethers-signers" }
ethers-contract-abigen = { version = "^1.0.0", path = "ethers-contract-abigen" }
ethers-contract-derive = { version = "^1.0.0", path = "ethers-contract-derive" }
ethers-core = { version = "^1.0.0", path = "../ethers-core", default-features = false, features = [
"eip712",
] }
ethers-derive-eip712 = { version = "^1.0.0", path = "../ethers-core/ethers-derive-eip712" }
ethers-solc = { version = "^1.0.0", path = "../ethers-solc", default-features = false }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.18", default-features = false, features = ["macros"] }
[features]
default = ["abigen"]
eip712 = ["ethers-derive-eip712", "ethers-core/eip712"]
abigen = ["ethers-contract-abigen/reqwest", "ethers-contract-derive"]
abigen-offline = ["ethers-contract-abigen", "ethers-contract-derive"]
celo = ["legacy", "ethers-core/celo", "ethers-core/celo", "ethers-providers/celo"]
legacy = []
rustls = ["ethers-contract-abigen/rustls"]
openssl = ["ethers-contract-abigen/openssl"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]