Expand description
Blazing fast VDF (Valve Data Format) parser.
This library provides parsers for both text and binary VDF formats used by Steam and other Valve Software products.
§Features
no_stdcompatible — works without the standard library, requires onlyalloc- Zero-copy parsing for text format when possible (no escape sequences)
- Binary format support for Steam’s appinfo.vdf, shortcuts.vdf, and packageinfo.vdf
- Winnow-powered text parser for maximum performance
§Example
use steam_vdf_parser::parse_text;
let input = r#""root"
{
"key" "value"
"nested"
{
"subkey" "subvalue"
}
}"#;
let vdf = parse_text(input).unwrap();Re-exports§
pub use error::Error;pub use error::Result;pub use value::Obj;pub use value::Value;pub use value::Vdf;pub use text::parse_text;
Modules§
- binary
- Binary VDF format parser.
- error
- Error types for VDF parsing.
- text
- Text VDF format parser.
- value
- Core data structures for VDF representation.
Functions§
- parse_
appinfo - Parse an appinfo.vdf format binary file.
- parse_
binary - Parse VDF from binary format (autodetects shortcuts or appinfo format).
- parse_
packageinfo - Parse a packageinfo.vdf format binary file.
- parse_
shortcuts - Parse a shortcuts.vdf format binary file.