1 unstable release
0.1.0 | May 2, 2024 |
---|
#202 in Parser tooling
Used in 6 crates
(3 directly)
5KB
56 lines
quake_infostring
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
- quake_serverinfo - Parse QuakeWorld serverinfo strings
lib.rs
:
quake_infostring
Parse QuakeWorld info strings