StructsΒ§
- Backwards
Compat πToml Provider - A Provider that handles breaking changes in toml files
- Dapp
EnvCompat πProvider - A provider that checks for DAPP_ env vars that are named differently than FOUNDRY_
- Dapp
Hardhat πDirProvider - A provider that sets the
srcandoutputpath depending on their existence. - Fallback
Profile Provider - Extracts the profile from the
profilekey and sets unset values according to the fallback provider - Forced
Snake πCase Data - A Provider that ensures all keys are snake case if theyβre not standalone sections. See
Config::STANDALONE_SECTIONS - Legacy
Labels πProvider - Adapts deprecated labels from arbitrary external providers.
- Normalize
Symbolic πProvider - Normalize
Tracing πProvider - Optional
Strict πProfile Provider - Extracts the profile from the
profilekey and using the original key as backup, merging values where necessary - Rename
Profile πProvider - Renames a profile from
fromtoto. - Toml
File πProvider - A convenience provider to retrieve a toml file. This will return an error if the env var is set but the file does not exist
- Unwrap
Profile πProvider - Unwraps a profile reducing the key depth
- Wrap
Profile πProvider - Wraps a profile in another profile
TraitsΒ§
- Provider
Ext π
FunctionsΒ§
- merge_
missing π - Recursively fills missing values while preserving values from the higher-precedence source.
- merge_
tracing_ πlabels - normalize_
legacy_ πlabels - normalize_
legacy_ πlabels_ in_ profile - normalize_
symbolic_ πsection - Moves the standalone symbolic section into the selected profile before inherited configs are merged.
- normalize_
tracing_ πsection - Moves the standalone tracing section into the selected profile before inherited configs are merged. The deprecated standalone labels section remains in place for warning generation and is normalized again after inheritance is resolved.
- snake_
case_ πprofile_ keys - Converts the top-level config keys in a profile value to snake_case.