1 unstable release

0.1.0 May 2, 2024

#152 in Parser tooling

Download history 165/week @ 2024-04-28 7/week @ 2024-05-05

172 downloads per month
Used in 5 crates (3 directly)

MIT license

5KB
56 lines

quake_infostring Test crates docs.rs

Parse QuakeWorld info strings

Usage

let info_str = r#"\maxfps\77\matchtag\kombat"#;
let info = quake_infostring::to_hashmap(&info_str);

assert_eq!(info.get("maxfps"), Some(&"77".to_string()));
assert_eq!(info.get("matchtag"), Some(&"kombat".to_string()));
assert_eq!(info.get("MISSING_KEY"), None);

See also


lib.rs:

quake_infostring

Parse QuakeWorld info strings

No runtime deps