rpm-ostree/rust
Colin Walters 6ac6f3d086 treefile.rs: Deny unknown fields by default
Let's not make the same mistake we did with JSON where typoing a
field means it's silently ignored.  This actually caught a bug
in a YAML usage we had:

```
error: Failed to load YAML treefile: unknown field `install_langs`, expected one of ... `install-langs` ...
```

Yes, this is a compatibility break with the feature we just announced
but...I seriously doubt anyone (that isn't known to me) has converted
yet, and if they are excited enough to start using a two-week-old feature
they can adjust.

Closes: #1459
Approved by: cgwalters
2018-07-21 14:43:48 +00:00
..
include build-sys: Make Rust library naming/entrypoint more generic 2018-07-05 13:58:22 +00:00
src treefile.rs: Deny unknown fields by default 2018-07-21 14:43:48 +00:00
.gitignore build-sys: Add some gitignore for Rust bits 2018-06-11 13:08:41 +00:00
cargo-vendor-config Add support for YAML treefiles 2018-06-05 13:08:33 +00:00
Cargo.toml rust: Split out treefile into its own module 2018-07-05 13:58:22 +00:00