Commit graph

8 commits

Author SHA1 Message Date
Ethiraric
d2caaf2ab3 Prepare the ground for annotated parsing.
* Make `YamlLoader` generic on the type of the `Node`. This is required
   because deeper node need to have annotations too.
 * Add a `LoadableYamlNode` trait, required for YAML node types to be
   loaded by `YamlLoader`. It contains methods required by `YamlLoader`
   during loading.
 * Implement `LoadableYamlNode` for `Yaml`.
 * Take `load_from_str` out of `YamlLoader` for parsing non-annotated
   nodes. This avoids every user to specify the generics in
   `YamlLoader::<Yaml>::load_from_str`.
2024-07-03 00:55:41 +02:00
Ethiraric
30b713d7a7 yaml-rust2 -> saphyr 2024-04-02 18:49:52 +02:00
Ethiraric
eed3433841 Update licence, readme, doc. 2024-02-08 07:12:14 +01:00
Anton Kochkov
3cfe953325 Update quickcheck to 0.9 2020-05-27 14:25:59 +08:00
Konrad Borowski
3250426de7 Add testing whether load(dump(x)) is an identity in quickcheck 2018-09-15 19:06:39 +02:00
David Tolnay
f26a44bcdc Format with rustfmt 0.99.4 2018-09-15 09:49:08 -07:00
David Tolnay
37dc15badb Fix clippy complaints 2017-05-08 11:35:53 -07:00
Tom Parker
84ffcafbc2 Add quickcheck to find broken exports 2017-05-08 18:37:15 +01:00