pub fn from_str(io: &str) -> Result<Config, Error>
Parses the contents of a netlify.toml file as a Config structure.
io
- A string slice that holds the content of a toml file.
let io = r#"
[build]
command = "make site"
"#;
let result = netlify_toml::from_str(io);