Cargo Features

[dependencies]
foundry-compilers = { version = "0.4.3", default-features = false, features = ["full", "async", "svm-solc", "project-util", "rustls", "openssl"] }
default = rustls

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

full = async, svm-solc
async full?

Adds extra async methods using tokio to some types.

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

svm-solc full? project-util?

Enables svm to auto-detect and manage solc 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 foundry-compilers::project_util

rustls default

Enables rustls of optional svm-rs

openssl

Enables openssl of optional svm-rs

svm-rs:

lib