ethers-rs/ethers-solc/Cargo.toml

61 lines
1.8 KiB
TOML
Raw Normal View History

[package]
name = "ethers-solc"
version = "0.1.0"
authors = ["Matthias Seitz <matthias.seitz@outlook.de>", "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 = """
Utilites for working with solc
"""
keywords = ["ethereum", "web3", "solc", "solidity", "ethers"]
[dependencies]
ethers-core = { version = "^0.6.0", path = "../ethers-core", default-features = false }
serde_json = "1.0.68"
serde = { version = "1.0.130", features = ["derive"] }
semver = "1.0.4"
walkdir = "2.3.2"
tokio = { version = "1.12.0", default-features = false, features = ["process", "io-util", "fs"], optional = true }
futures-util = { version = "0.3.18", optional = true }
once_cell = "1.8.0"
regex = "1.5.4"
md-5 = "0.9.1"
thiserror = "1.0.30"
hex = "0.4.3"
colored = "2.0.0"
svm = { package = "svm-rs", version = "0.2.0", optional = true }
glob = "0.3.0"
tracing = "0.1.29"
num_cpus = "1.13.0"
[target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64")))'.dependencies]
sha2 = { version = "0.9.8", default-features = false }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
sha2 = { version = "0.9.8", default-features = false, features = ["asm"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
home = "0.5.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly
getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
criterion = { version = "0.3", features = ["async_tokio"] }
tokio = { version = "1.12.0", features = ["full"] }
tempdir = "0.3.7"
[[bench]]
name = "compile_many"
harness = false
[features]
async = ["tokio", "futures-util"]
full = ["async", "svm"]
tests = []