2020-05-26 09:37:31 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-contract"
|
2022-09-18 15:45:45 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
2023-03-16 19:28:35 +00:00
|
|
|
readme = "README.md"
|
|
|
|
description = "Type-safe abstractions for interacting with Ethereum smart contracts"
|
|
|
|
|
|
|
|
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
|
2020-05-26 09:37:31 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-providers.workspace = true
|
|
|
|
ethers-core.workspace = true
|
|
|
|
|
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
|
|
|
futures-util.workspace = true
|
|
|
|
pin-project.workspace = true
|
|
|
|
thiserror.workspace = true
|
|
|
|
once_cell.workspace = true
|
|
|
|
hex.workspace = true
|
|
|
|
|
|
|
|
# abigen
|
|
|
|
ethers-contract-abigen = { workspace = true, optional = true }
|
|
|
|
ethers-contract-derive = { workspace = true, optional = true }
|
|
|
|
|
2022-10-25 18:12:50 +00:00
|
|
|
[dev-dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-signers.workspace = true
|
|
|
|
ethers-solc.workspace = true
|
2023-03-21 18:44:12 +00:00
|
|
|
ethers-providers = { workspace = true, features = ["ws"] }
|
2022-10-25 18:12:50 +00:00
|
|
|
|
2021-08-23 09:56:44 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
tokio = { workspace = true, 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-11-14 12:27:05 +00:00
|
|
|
abigen-offline = ["ethers-contract-abigen", "ethers-contract-derive"]
|
2023-03-01 00:26:27 +00:00
|
|
|
abigen = ["abigen-offline", "ethers-contract-abigen/online"]
|
|
|
|
|
|
|
|
celo = ["legacy", "ethers-core/celo", "ethers-providers/celo"]
|
2021-08-09 00:50:38 +00:00
|
|
|
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"]
|