Cargo Features

[dependencies]
ethers-solc = { version = "2.0.14", default-features = false, features = ["full", "async", "svm-solc", "project-util", "tests", "rustls", "openssl", "asm"] }
default = rustls

The rustls feature is set by default whenever ethers-solc is added without default-features = false somewhere in the dependency tree.

full = async, svm-solc
async full? = futures-util

Enables fs, io-util, process and time of tokio

svm-solc full? = sha2, svm, svm-builds

Affects compile::RELEASES, resolver::VersionedSources

project-util = fs_extra, rand, tempfile

Utilities for creating and testing project workspaces

Affects ethers-solc::project_util

tests
rustls default

Enables rustls of optional svm-rs ^0.3

openssl

Enables openssl of optional svm-rs ^0.3

svm-rs:

lib

asm

Deprecated

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

sha2 svm-solc?
tempfile project-util?
fs_extra project-util?
rand project-util?
futures-util async?
svm not wasm32 svm-solc?

Enables svm-rs ^0.3

svm-builds not wasm32 svm-solc?

Enables svm-rs-builds ^0.2