2021-10-26 11:28:10 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-solc"
|
2022-11-27 20:27:57 +00:00
|
|
|
version = "1.0.2"
|
2021-10-26 11:28:10 +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 = [
|
|
|
|
"Matthias Seitz <matthias.seitz@outlook.de>",
|
2022-09-28 18:58:26 +00:00
|
|
|
"Georgios Konstantopoulos <me@gakonst.com>",
|
2022-09-18 15:45:45 +00:00
|
|
|
]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2021-10-26 11:28:10 +00:00
|
|
|
readme = "../README.md"
|
|
|
|
documentation = "https://docs.rs/ethers"
|
|
|
|
repository = "https://github.com/gakonst/ethers-rs"
|
|
|
|
homepage = "https://docs.rs/ethers"
|
2022-09-18 15:45:45 +00:00
|
|
|
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]
|
2022-10-25 18:02:59 +00:00
|
|
|
ethers-core = { version = "^1.0.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"] }
|
2022-12-22 19:00:18 +00:00
|
|
|
semver = { version = "1.0.16", features = ["serde"] }
|
2021-10-26 11:28:10 +00:00
|
|
|
walkdir = "2.3.2"
|
2022-05-29 00:54:45 +00:00
|
|
|
tokio = { version = "1.18", default-features = false, features = ["rt"] }
|
2021-12-15 02:32:36 +00:00
|
|
|
futures-util = { version = "^0.3", optional = true }
|
2022-12-30 12:43:05 +00:00
|
|
|
once_cell = "1.17.0"
|
2022-11-09 00:05:44 +00:00
|
|
|
regex = "1.7.0"
|
2022-09-22 16:28:18 +00:00
|
|
|
md-5 = "0.10.5"
|
2022-05-23 18:41:30 +00:00
|
|
|
thiserror = "1.0"
|
2021-10-30 17:59:44 +00:00
|
|
|
hex = "0.4.3"
|
2022-09-04 18:00:11 +00:00
|
|
|
yansi = "0.5.1"
|
2021-11-13 19:31:55 +00:00
|
|
|
glob = "0.3.0"
|
2022-10-07 17:03:01 +00:00
|
|
|
tracing = "0.1.37"
|
2022-12-22 18:58:52 +00:00
|
|
|
num_cpus = "1.15.0"
|
2021-12-08 00:38:29 +00:00
|
|
|
tiny-keccak = { version = "2.0.2", default-features = false }
|
2022-01-11 10:03:09 +00:00
|
|
|
tempfile = { version = "3.3.0", optional = true }
|
2021-12-12 23:39:28 +00:00
|
|
|
fs_extra = { version = "1.2.0", optional = true }
|
2022-09-16 18:24:39 +00:00
|
|
|
sha2 = { version = "0.10.6", default-features = false, optional = true }
|
2022-10-07 17:05:18 +00:00
|
|
|
dunce = "1.0.3"
|
2022-09-19 17:51:46 +00:00
|
|
|
solang-parser = { default-features = false, version = "=0.1.18" }
|
2022-12-22 13:22:57 +00:00
|
|
|
rayon = "1.6.0"
|
2022-03-15 12:27:49 +00:00
|
|
|
rand = { version = "0.8.5", optional = true }
|
2022-08-08 17:27:28 +00:00
|
|
|
path-slash = "0.2.1"
|
2022-05-14 23:29:45 +00:00
|
|
|
cfg-if = "1.0.0"
|
2021-10-31 14:41:36 +00:00
|
|
|
|
2021-12-03 20:03:26 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-10-12 18:13:25 +00:00
|
|
|
home = "0.5.4"
|
2022-09-19 17:51:40 +00:00
|
|
|
svm = { package = "svm-rs", version = "0.2.18", default-features = false, optional = true, features = [
|
2022-09-28 18:58:26 +00:00
|
|
|
"blocking",
|
2022-09-18 15:45:45 +00:00
|
|
|
] }
|
|
|
|
svm-builds = { package = "svm-rs-builds", version = "0.1.8", 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
|
|
|
|
2022-10-25 18:12:50 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
criterion = { version = "0.3", features = ["async_tokio"] }
|
2022-11-27 20:32:57 +00:00
|
|
|
env_logger = "0.10.0"
|
2022-10-25 18:12:50 +00:00
|
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
|
|
|
|
rand = "0.8.5"
|
|
|
|
pretty_assertions = "1.3.0"
|
|
|
|
tempfile = "3.3.0"
|
|
|
|
tokio = { version = "1.18", features = ["full"] }
|
2022-12-25 11:53:42 +00:00
|
|
|
serde_path_to_error = "0.1.9"
|
2022-10-25 18:12:50 +00:00
|
|
|
|
2021-12-06 23:02:13 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "compile_many"
|
|
|
|
harness = false
|
|
|
|
|
2022-01-05 21:46:57 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "read_all"
|
2022-11-08 23:08:41 +00:00
|
|
|
required-features = ["project-util"]
|
2022-01-05 21:46:57 +00:00
|
|
|
harness = false
|
|
|
|
|
2021-12-12 23:39:28 +00:00
|
|
|
[[test]]
|
|
|
|
name = "project"
|
|
|
|
path = "tests/project.rs"
|
2022-04-03 15:05:31 +00:00
|
|
|
required-features = ["full", "project-util"]
|
2021-12-12 23:39:28 +00:00
|
|
|
|
2022-03-15 12:27:49 +00:00
|
|
|
[[test]]
|
|
|
|
name = "mocked"
|
|
|
|
path = "tests/mocked.rs"
|
2022-04-03 15:05:31 +00:00
|
|
|
required-features = ["full", "project-util"]
|
2022-03-15 12:27:49 +00:00
|
|
|
|
2021-10-26 11:28:10 +00:00
|
|
|
[features]
|
2021-12-19 14:56:54 +00:00
|
|
|
default = ["rustls"]
|
2022-05-14 23:29:45 +00:00
|
|
|
async = ["tokio/process", "tokio/io-util", "tokio/fs", "tokio/time", "futures-util"]
|
2022-03-21 08:58:56 +00:00
|
|
|
full = ["async", "svm-solc"]
|
|
|
|
svm-solc = ["svm/blocking", "svm-builds", "sha2"]
|
2021-12-12 23:39:28 +00:00
|
|
|
# Utilities for creating and testing project workspaces
|
2022-03-15 12:27:49 +00:00
|
|
|
project-util = ["tempfile", "fs_extra", "rand"]
|
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"]
|