Function cargo_toml_validate::validate
[−]
[src]
pub fn validate(cargo_toml: &str) -> Result<(), Vec<String>>
Examples
use cargo_toml_validate; let cargo_toml = "..."; match cargo_toml_validate::validate(cargo_toml) { Ok(()) => { /* Everything's fine */ }, Err(errors) => { for error in errors { println!("{:?}", error); } } }