Jonas Bushart
Jonas Bushart
You can use `#[serde(flatten)]` to gather unknown fields into a `Value` or `BtreeMap`. Another option is to let the deserialization fail with `#[serde(deny_unknown_fields)]` whenever unknown field occur, then you can...
Thank you for the report. Yes, there is indeed a problem here. The code uses the normal math operations and some `as` casts. Fixing all of the instances will be...
The functionality of `tuple_list_as_map` still exists as https://docs.rs/serde_with/latest/serde_with/struct.Map.html. However it does not quite fit your first example. It converts between a list of tuples, (first tuple element acting as a...
I'm not sure I understand the request here and what you want to achieve. You want that with `OneOrMany` it tries to deserialize the single variant first and only if...
Calling the screenshot portal is not too complicated using Gio and Glib. The below script does work as a drop-in for the screenshot fallback code: https://github.com/Yubico/yubioath-flutter/blob/5fd90578535ae9cef006339691e1dc3a5b8b7f65/helper/helper/qr.py#L36-L65 ```python #!/usr/bin/python3 # #...
This is no longer needed after #799.
I am really wary of just adding too many cache-specific arguments to this action. I rather have the cache part simple and have people use `Swatinem/rust-cache` directly when they need...
Hi, I think I have come around to exposing more of `Swatinem/rust-cache`, since there seems to be demand for it. I try to release this during the weekend.
This is one example caused by https://github.com/serde-rs/serde/issues/1183
The setting of `CARGO_PROFILE_DEV_DEBUG` comes from this blog post: https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow > [Disable](https://github.com/rust-analyzer/rust-analyzer/blob/48f84a7b60bcbd7ec5fa6434d92d9e7a8eb9731b/Cargo.toml#L6-L10) debuginfo — it makes ./target much bigger, which again harms caching. Depending on your preferred workflow, you might...