2021-10-26 11:28:10 +00:00
|
|
|
[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
|
|
|
|
"""
|
2021-10-31 11:34:51 +00:00
|
|
|
keywords = ["ethereum", "web3", "solc", "solidity", "ethers"]
|
2021-10-26 11:28:10 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-11-23 19:23:12 +00:00
|
|
|
ethers-core = { version = "^0.6.0", path = "../ethers-core", default-features = false }
|
2021-10-26 11:28:10 +00:00
|
|
|
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 }
|
2021-12-15 02:32:36 +00:00
|
|
|
futures-util = { version = "^0.3", optional = true }
|
2021-10-26 11:28:10 +00:00
|
|
|
once_cell = "1.8.0"
|
|
|
|
regex = "1.5.4"
|
2021-12-09 17:45:34 +00:00
|
|
|
md-5 = "0.10.0"
|
2021-10-26 11:28:10 +00:00
|
|
|
thiserror = "1.0.30"
|
2021-10-30 17:59:44 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
colored = "2.0.0"
|
2021-11-13 19:31:55 +00:00
|
|
|
glob = "0.3.0"
|
2021-11-26 15:09:06 +00:00
|
|
|
tracing = "0.1.29"
|
2021-12-06 23:02:13 +00:00
|
|
|
num_cpus = "1.13.0"
|
2021-12-08 00:38:29 +00:00
|
|
|
tiny-keccak = { version = "2.0.2", default-features = false }
|
2021-12-12 23:39:28 +00:00
|
|
|
tempdir = { version = "0.3.7", optional = true }
|
|
|
|
fs_extra = { version = "1.2.0", optional = true }
|
2021-12-03 17:27:55 +00:00
|
|
|
sha2 = { version = "0.9.8", default-features = false }
|
2021-12-19 20:03:16 +00:00
|
|
|
dunce = "1.0.2"
|
2021-10-31 14:41:36 +00:00
|
|
|
|
2021-12-03 20:03:26 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
home = "0.5.3"
|
2021-12-19 14:56:54 +00:00
|
|
|
# SVM is not WASM compatible yet.
|
|
|
|
# svm = { package = "svm-rs", default-features = false, version = "0.2.1", optional = true }
|
|
|
|
svm = { package = "svm-rs", git = "https://github.com/roynalnaruto/svm-rs", default-features = false, optional = true }
|
2021-12-03 20:03:26 +00:00
|
|
|
|
2021-12-03 17:27:55 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
# NOTE: this enables wasm compatibility for getrandom indirectly
|
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2021-10-26 11:28:10 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-12-06 23:02:13 +00:00
|
|
|
criterion = { version = "0.3", features = ["async_tokio"] }
|
2021-12-20 20:16:59 +00:00
|
|
|
pretty_assertions = "1.0.0"
|
2021-10-26 11:28:10 +00:00
|
|
|
tempdir = "0.3.7"
|
2021-12-12 23:39:28 +00:00
|
|
|
tokio = { version = "1.12.0", features = ["full"] }
|
2021-10-26 11:28:10 +00:00
|
|
|
|
2021-12-06 23:02:13 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "compile_many"
|
|
|
|
harness = false
|
|
|
|
|
2021-12-12 23:39:28 +00:00
|
|
|
[[test]]
|
|
|
|
name = "project"
|
|
|
|
path = "tests/project.rs"
|
|
|
|
required-features = ["project-util"]
|
|
|
|
|
2021-10-26 11:28:10 +00:00
|
|
|
[features]
|
2021-12-19 14:56:54 +00:00
|
|
|
default = ["rustls"]
|
2021-10-26 11:28:10 +00:00
|
|
|
async = ["tokio", "futures-util"]
|
2021-10-31 14:41:36 +00:00
|
|
|
full = ["async", "svm"]
|
2021-12-12 23:39:28 +00:00
|
|
|
# Utilities for creating and testing project workspaces
|
|
|
|
project-util = ["tempdir", "fs_extra"]
|
2021-11-05 18:23:24 +00:00
|
|
|
tests = []
|
2021-12-19 14:56:54 +00:00
|
|
|
openssl = ["svm/openssl"]
|
|
|
|
rustls = ["svm/rustls"]
|
2021-12-19 16:02:22 +00:00
|
|
|
asm = ["sha2/asm", "svm/sha2-asm"]
|