Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Foundry Compilers
| Docs |
Originally part of ethers-rs
as ethers-solc
, Foundry Compilers is the compilation backend for Foundry.
ethers-rs
's ethers-solc
is considered to be in maintenance mode, and any fixes to it will also be reflected on Foundry Compilers. No action is currently needed from devs, although we heavily recommend using Foundry Compilers instead of ethers-solc
.
Supported Rust Versions
The current MSRV (minimum supported rust version) is 1.87.
Note that the MSRV is not increased automatically, and only as part of a minor release.
Contributing
Thanks for your help in improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the Foundry Compilers project.
Pull requests will not be merged unless CI passes, so please ensure that your contribution follows the linting rules and passes clippy.
Overview
To install, simply add foundry-compilers
to your cargo dependencies.
[]
= "0.17.1"
Example usage:
use ;
use Path;
// configure the project with all its paths, solc, cache etc.
let project = builder
.paths
.build
.unwrap;
let output = project.compile.unwrap;
// Tell Cargo that if a source file changes, to rerun this build script.
project.rerun_if_sources_changed;