Trangar
Trangar
We've written a small migration guide here: https://docs.rs/bincode/2.0.0-rc.2/bincode/migration_guide/index.html Is this missing anything?
I think that will be a good addition to bincode if someone wants to make a PR for this.
Turning on `[profile.bench] lto = true` in the `Cargo.toml` massively increases the performance. In initial testing we found bincode-2 to be 10-20% faster, but it looks like this is no...
Bincode 1 essentially does `&[u8].to_vec()`: https://github.com/bincode-org/bincode/blob/v1.x/src/de/read.rs#L126-L128 Bincode 2 aims to be usable in `no_std`, so it only provides an interface to fill a `&mut [u8]`: https://github.com/bincode-org/bincode/blob/trunk/src/de/read.rs#L19 Because of this, in...
USB is a huge one for me. I work with only stm32f103's and I've been trying to get USB to work but I can't figure it out. It would make...
You're right, I AM interested in that!
I'm not keen on having a dedicated feature for this. It shouldn't be a breaking change to modify this in a minor version, so once this is stabilized I think...
As far as I can tell this should be stable in 1.76 next week
Looks like I was wrong and this will be stable in rust 1.77, which should be released on march 21th
Bincode tries to achieve this but like you mentioned cases like NaN floating point deserialization could violate this assumption. Specifically we use a lot of `from_le_bytes` and `from_be_bytes` calls which...