Expand description
Utility functions
Enumsยง
- Helper type to parse both
u64
andU256
Functionsยง
- Deserialize stringified percent. The value must be between 0 and 100 inclusive.
- Deserialize a
u64
or โmaxโ foru64::MAX
. - Deserialize a
usize
or โmaxโ forusize::MAX
. - Returns the [SpecId] derived from [EvmVersion]
- Returns the path of the top-level directory of the working git tree.
- Returns the root path to set for the project root.
- Returns a list of unique paths to all folders under
root
that contain afoundry.toml
file - Returns all available
profile
keys in a given.toml
file - get_
dir_ ๐remapping Returns a remapping for the given dir - Loads the config for the current project workspace
- Loads the config for the current project workspace or the provided root path.
- read_
toml ๐Returns a [toml_edit::Document
] loaded from the providedpath
. Can raise an error in case of I/O or parsing errors. - Returns the remappings from the given var
- Returns all [
Remapping
]s contained in theremappings
str separated by newlines - Converts the
val
into afigment::Value::Array
- Returns the root path to set for the project root.