Skip to content

Sarrus1/valve-kv-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Valve KV Tools

Serializer, Formatter and Linter for Valve's KeyValue format built with Pest

Crates.io Crates.io Github release status Code coverage GitHub

Example

use valve_kv_tools::{format_keyvalue, FormatterConfig};

fn main() {
    let input = r#""key"    "value""#;
    let output = format_keyvalue(input, FormatterConfig::default()).unwrap();
    assert_eq!(input, output);
}