ethers-rs/ethers-solc/Cargo.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

125 lines
3.0 KiB
TOML
Raw Normal View History

[package]
name = "ethers-solc"
2022-09-18 15:45:45 +00:00
authors = [
"Matthias Seitz <matthias.seitz@outlook.de>",
"Georgios Konstantopoulos <me@gakonst.com>",
]
readme = "README.md"
2022-09-18 15:45:45 +00:00
description = "Utilites for working with solc"
keywords = ["ethers", "ethereum", "web3", "solc", "solidity"]
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
exclude.workspace = true
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
all-features = true
[dependencies]
ethers-core.workspace = true
solang-parser = { version = "=0.2.3", default-features = false }
serde = { workspace = true, features = ["derive", "rc"] }
serde_json.workspace = true
tiny-keccak = { version = "2.0.2", default-features = false }
sha2 = { workspace = true, optional = true }
md-5 = "0.10.5"
semver = { workspace = true, features = ["serde"] }
walkdir.workspace = true
once_cell.workspace = true
regex.workspace = true
thiserror.workspace = true
hex.workspace = true
yansi = "0.5.1"
glob = "0.3.1"
tracing.workspace = true
num_cpus = "1.15.0"
dunce.workspace = true
rayon.workspace = true
path-slash = "0.2.1"
cfg-if = "1.0.0"
tempfile = { version = "3.4.0", optional = true }
fs_extra = { version = "1.3.0", optional = true }
rand = { workspace = true, optional = true }
futures-util = { workspace = true, optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
home = "0.5.4"
svm = { package = "svm-rs", version = "0.2", default-features = false, features = [
2022-09-18 15:45:45 +00:00
"blocking",
], optional = true }
2023-02-23 20:48:41 +00:00
svm-builds = { package = "svm-rs-builds", version = "0.1", optional = true }
2023-03-21 22:19:16 +00:00
tokio = { workspace = true, features = ["rt-multi-thread"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly
getrandom.workspace = true
[dev-dependencies]
criterion.workspace = true
2022-11-27 20:32:57 +00:00
env_logger = "0.10.0"
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }
rand.workspace = true
pretty_assertions = "1.3.0"
tempfile.workspace = true
serde_path_to_error = "0.1.10"
[[bench]]
name = "compile_many"
harness = false
[[bench]]
name = "read_all"
required-features = ["project-util"]
harness = false
[[test]]
name = "project"
path = "tests/project.rs"
required-features = ["full", "project-util"]
[[test]]
name = "mocked"
path = "tests/mocked.rs"
required-features = ["full", "project-util"]
[features]
default = ["rustls"]
full = ["async", "svm-solc"]
async = [
"tokio/process",
"tokio/io-util",
"tokio/fs",
"tokio/time",
"futures-util",
"criterion/async_tokio",
]
svm-solc = ["svm", "svm-builds", "sha2"]
# Utilities for creating and testing project workspaces
project-util = ["tempfile", "fs_extra", "rand"]
tests = []
openssl = ["svm?/openssl"]
rustls = ["svm?/rustls"]
# Deprecated
asm = []