kdl-schema
KDL Schema types and parsing.
examples
building a schema
use *;
let schema = Schema ;
println!;
parsing a schema KDL
referencing the schema schema
assert_eq!;
cargo features
parse-knuffel- exposeSchema::parse, powered by theknuffelcrate
conditions blocking version 1.0.0
- consistently good documentation
- merge ref target over ref source if ref source has anything else
- good API for parsing from a file
- types actually match the schema (currently I'm omitting several things because the schema schema doesn't use them)
- ergonomic builder API to define a schema in Rust in a non-ugly way
- can generate KDL from schema object in Rust
- can choose kdl or knuffel as parser
- make sure
required falsein apropworks properly - validate the schema at parse time (ensure that e.g. refs are resolvable, IDs are unique)
- make sure enums work with int values
- allow rich types for language tags, modification dates, etc