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