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-12-06 06:04:48 +00:00
|
|
|
rust-version = "1.64"
|
2022-09-18 15:45:45 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2020-06-20 13:55:07 +00:00
|
|
|
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 }
|
2020-05-26 14:43:51 +00:00
|
|
|
|
2021-03-08 07:48:24 +00:00
|
|
|
serde = { version = "1.0.124", default-features = false }
|
2021-03-02 12:53:33 +00:00
|
|
|
serde_json = { version = "1.0.64", default-features = false }
|
2022-05-23 18:41:30 +00:00
|
|
|
thiserror = { version = "1.0", default-features = false }
|
2022-12-30 12:43:05 +00:00
|
|
|
once_cell = { version = "1.17.0" }
|
2022-09-18 15:45:45 +00:00
|
|
|
pin-project = { version = "1.0.11", default-features = false }
|
2021-12-15 02:32:36 +00:00
|
|
|
futures-util = { version = "^0.3" }
|
2021-03-04 07:30:36 +00:00
|
|
|
hex = { version = "0.4.3", default-features = false, features = ["std"] }
|
2020-05-26 14:43:51 +00:00
|
|
|
|
2022-10-25 18:12:50 +00:00
|
|
|
[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 }
|
|
|
|
|
2021-08-23 09:56:44 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2022-05-29 00:54:45 +00:00
|
|
|
tokio = { version = "1.18", default-features = false, features = ["macros"] }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2020-05-26 14:43:51 +00:00
|
|
|
[features]
|
2022-09-09 23:19:29 +00:00
|
|
|
default = ["abigen"]
|
|
|
|
|
2021-10-08 16:31:42 +00:00
|
|
|
eip712 = ["ethers-derive-eip712", "ethers-core/eip712"]
|
2021-11-14 12:27:05 +00:00
|
|
|
abigen = ["ethers-contract-abigen/reqwest", "ethers-contract-derive"]
|
|
|
|
abigen-offline = ["ethers-contract-abigen", "ethers-contract-derive"]
|
2021-08-09 00:50:38 +00:00
|
|
|
celo = ["legacy", "ethers-core/celo", "ethers-core/celo", "ethers-providers/celo"]
|
|
|
|
legacy = []
|
2020-06-20 13:55:07 +00:00
|
|
|
|
2021-12-19 14:56:54 +00:00
|
|
|
rustls = ["ethers-contract-abigen/rustls"]
|
|
|
|
openssl = ["ethers-contract-abigen/openssl"]
|
2022-10-25 18:12:50 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|