David Wong
David Wong
For the moment, the console is prompt. It's not super clean but it works. In the future, maybe use something like this? https://github.com/sqweek/dialog
it's still not clean at all, a more promising dependency: https://github.com/fyne-io/fyne
damn it 😅
I'm glad someone is identifying the important issues, are you planning on a PR to fix this?
I have the same question :D
In the mean time, you can work around that by using `#[serde(with)`] or [serde_with](https://docs.rs/serde_with/1.10.0/serde_with/) for serialization when containers are involved: ```rust use serde_with::{DeserializeAs, SerializeAs}; pub struct SerdeAs; impl serde_with::SerializeAs for...
I'm not sure I would agree with that. In our case, without the work around I just described we'd have to implement large custom serialization/deserialization functions (which would kind of...
Do you have an attack or issue in mind if serde is used at this layer?
I can see how it can be dangerous in a network protocol or to canonically serialize bytes before hashing/MAC'ing/signing them, but serialization is also useful for storing to disk or...
this saved me :) I suggest adding this in a FAQ somewhere!