Struct ethers_solc::ProjectPathsConfig [−][src]
pub struct ProjectPathsConfig {
pub root: PathBuf,
pub cache: PathBuf,
pub artifacts: PathBuf,
pub sources: PathBuf,
pub tests: PathBuf,
pub libraries: Vec<PathBuf>,
pub remappings: Vec<Remapping>,
}
Expand description
Where to find all files or where to write them
Fields
root: PathBuf
Project root
cache: PathBuf
Path to the cache, if any
artifacts: PathBuf
Where to store build artifacts
sources: PathBuf
Where to find sources
tests: PathBuf
Where to find tests
libraries: Vec<PathBuf>
Where to look for libraries
remappings: Vec<Remapping>
The compiler remappings
Implementations
Creates a new hardhat style config instance which points to the canonicalized root path
Creates a new dapptools style config instance which points to the canonicalized root path
Creates a new config with the current directory as the root
Creates a new config with the current directory as the root
Creates all configured dirs and files
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProjectPathsConfig
impl Send for ProjectPathsConfig
impl Sync for ProjectPathsConfig
impl Unpin for ProjectPathsConfig
impl UnwindSafe for ProjectPathsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more