1 unstable release

0.1.0 Jul 15, 2024

#28 in #yaml-parser

Download history 5/week @ 2025-01-31 5/week @ 2025-02-07 4/week @ 2025-02-14 2/week @ 2025-02-21 24/week @ 2025-02-28 4/week @ 2025-03-21 134/week @ 2025-03-28 35/week @ 2025-04-04 131/week @ 2025-04-11 16/week @ 2025-04-18 14/week @ 2025-04-25

225 downloads per month

Apache-2.0

7KB
179 lines

yaml2lua

Convert YAML to Lua table

Version badge Downloads badge License badge Docs badge

Example:

use yaml2lua::parse;

let yaml = r#"
string: yaml2lua
int: 420
bool: true
nil: null
"#;

let lua = parse(yaml).unwrap();
// Output:
// {
//   ["string"] = "yaml2lua",
//   ["int"] = 420,
//   ["bool"] = true,
//   ["nil"] = nil,
// }

Dependencies

~2MB
~42K SLoC