pub fn parse(toml: &str, _file: &Path, _config: &Config) -> CargoResult<Value>
Expand description
Attempts to parse a string into a toml::Value
. This is not specific to any
particular kind of TOML file.
The purpose of this wrapper is to detect invalid TOML which was previously
accepted and display a warning to the user in that case. The file
and config
parameters are only used by this fallback path.