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 whenever foundry-compilers is added without default-features = false somewhere in the dependency tree.

full = async, svm-solc
test-utils
async full?

Adds extra async methods using tokio 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 manage solc 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

Enables rustls of optional svm-rs

openssl

Enables openssl of optional svm-rs

svm-rs:

lib