flake reorg

This commit is contained in:
Robin Appelman 2025-02-25 19:54:59 +01:00
commit 2ccd57d27e
4 changed files with 82 additions and 212 deletions

View file

@ -12,22 +12,22 @@ This crate implements a deserializer for serde, but because VDF doesn't map that
- Because the boolean values `0` and `1` can't be distinguished from numbers, it is not possible to use booleans in untagged enums.
- When deserializing arrays by settings the same key multiple times, the keys have to be consecutive.
```vdf
key: 1
key: 2
other: 3
```
will work, but
```vdf
key: 1
other: 3
key: 2
```
will not.
```vdf
key: 1
key: 2
other: 3
```
will work, but
```vdf
key: 1
other: 3
key: 2
```
will not.
### Tagged enum root
@ -48,6 +48,7 @@ or
```
can be deserialized into a
```rust
enum Data {
Variant1 {
@ -57,4 +58,4 @@ enum Data {
other: String,
}
}
```
```