ethers-rs/ethers-core/Cargo.toml

56 lines
2.1 KiB
TOML
Raw Normal View History

2020-05-26 09:37:31 +00:00
[package]
2020-05-31 16:01:34 +00:00
name = "ethers-core"
license = "MIT OR Apache-2.0"
version = "0.4.8"
2020-05-26 09:37:31 +00:00
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
description = "Core structures 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]
rlp = { version = "0.5.0", default-features = false }
2021-07-08 16:06:20 +00:00
ethabi = { version = "14.1.0", default-features = false }
arrayvec = { version = "0.7.1", default-features = false }
rlp-derive = { version = "0.1.0", default-features = false }
2020-05-26 09:37:31 +00:00
# crypto
ecdsa = { version = "0.12.3", default-features = false, features = ["std"] }
elliptic-curve = { version = "0.10.6", default-features = false }
generic-array = { version = "0.14.4", default-features = false }
k256 = { version = "0.9.5", default-features = false, features = ["keccak256", "ecdsa"] }
rand = { version = "0.8.4", default-features = false }
tiny-keccak = { version = "2.0.2", default-features = false }
2020-05-26 10:24:19 +00:00
# misc
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.64", default-features = false }
thiserror = { version = "1.0.26", default-features = false }
glob = { version = "0.3.0", default-features = false }
bytes = { version = "1.1.0", features = ["serde"] }
hex = { version = "0.4.3", default-features = false, features = ["std"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# async
tokio = { version = "1.5", default-features = false, optional = true}
futures-util = { version = "0.3.16", optional = true }
2020-05-26 10:24:19 +00:00
[dev-dependencies]
ethers = { version = "0.4.0", path = ".." }
serde_json = { version = "1.0.64", default-features = false }
bincode = { version = "1.3.3", default-features = false }
once_cell = { version = "1.8.0" }
hex-literal = "0.3.3"
futures-util = { version = "0.3.16" }
[features]
celo = ["legacy"] # celo support extends the transaction format with extra fields
setup = ["tokio", "futures-util"] # async support for concurrent setup
legacy = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]