Sho Nakatani
Sho Nakatani
``` error[E0658]: const generics are unstable --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/postcard-0.7.3/src/accumulator.rs:65:34 | 65 | pub struct CobsAccumulator { | ^ | = note: see issue #74878 for more information error[E0658]: const generics are...
especially the first encryption in a process.
https://docs.rs/crypto_box/0.6.0/crypto_box/#in-place-usage-eliminates-alloc-requirement
from reddit comment: https://www.reddit.com/r/rust/comments/nz2mq1/release_serdeencrypt_publickey_sharedkey/h1nzhcb/?utm_source=reddit&utm_medium=web2x&context=3
see: https://github.com/laysakura/serde-encrypt/issues/34#issuecomment-859543334
see: https://github.com/laysakura/serde-encrypt/issues/34#issuecomment-859546152
Idea from [async-trait](https://github.com/dtolnay/async-trait#non-threadsafe-futures) crate. Also shortly discussed in discord: https://discord.com/channels/647529123996237854/647529123996237860/800671224945573930 