Cargo Features
[dependencies]
foundry-compilers = { version = "0.12.3", default-features = false, features = ["full", "test-utils", "async", "svm-solc", "project-util", "rustls", "openssl"] }
- default = rustls
-
The
rustls
feature is set by default wheneverfoundry-compilers
is added without
somewhere in the dependency tree.default-features = false - full = async, svm-solc
- test-utils
- async full?
-
Adds extra
async
methods usingtokio
to some types.Enables futures-util, async of foundry-compilers-artifacts, fs, io-util and process of tokio
- svm-solc full? project-util?
-
Enables
svm
to auto-detect and managesolc
builds.Enables once_cell, sha2, svm-rs, and svm-rs-builds, svm-solc of foundry-compilers-core
Affects
compiler::RELEASES
… - project-util = svm-solc
-
Utilities for creating and testing project workspaces.
Enables fs_extra, rand, and tempfile, project-util of foundry-compilers-core
Affects
foundry-compilers::project_util
… - rustls default
- openssl
-
Enables openssl of optional svm-rs
svm-rs:
lib