vmt_parser/lib.rs
1mod data;
2pub mod material;
3
4use crate::material::Material;
5pub use data::*;
6
7pub type Result<T, E = VdfError> = std::result::Result<T, E>;
8
9pub fn from_str(input: &str) -> Result<Material> {
10 let input = input.to_ascii_lowercase();
11 vdf_reader::from_str(&input)
12}
13
14pub use vdf_reader::VdfError;