Mingwei Samuel
bfa9bdc36e
Add deny-unknown-enum-variants features
...
Add `NONE = -1` variant to Champions
2022-06-20 20:43:16 -07:00
Mingwei Samuel
b24fdcb765
Use `#[derive(Serialize, Deserialize)]` for string enums missing `UNKNOWN(String)` variant
...
Use updated `serde_string!` -> `serde_strum_unknown!` for enums with
`UNKNOWN` variant.
2022-06-20 10:05:54 -07:00
Mingwei Samuel
104db04d9d
Revert "Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]"
...
This reverts commit 038e5eb493
.
This is to fix handling of `#[strum(default)]` variants.
2022-06-20 09:40:28 -07:00
Mingwei Samuel
038e5eb493
Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]
...
As pointed out in #33
2022-02-08 22:28:48 -08:00
Mingwei Samuel
1d70c479cf
Add #![deny(missing_docs)], document all items
2022-02-08 17:17:47 -08:00
Mingwei Samuel
74eb5fa045
Update example proxy for v2, use workspaces.
...
- `example/proxy` is new folder for `example_proxy`.
- `riven` is new folder for the main riven lib.
- Updated metadata to be an array and include HTTP method.
2021-09-09 14:31:39 -07:00