foundry_config::utils

Function read_toml

Source
fn read_toml(path: impl AsRef<Path>) -> Result<DocumentMut>
Expand description

Returns a [toml_edit::Document] loaded from the provided path. Can raise an error in case of I/O or parsing errors.