Allows for the convenient conversion of types from and to arrays of bytes.
- Default
- Usage of the ByteCon trait allows for appending and extracting bytes from a byte array. This is very useful for interacting with a byte stream.
- ByteConverterFactory allows for generic registration of implementation of ByteConverter, allowing for generic usage by TypeId, returning an output value.
"base"- The default feature that implements
ByteConverterfor many standard Rust types - These can be disabled using
default-features = falseif you wish to implement your own byte structure yourself
- The default feature that implements
"burn"- Contains implementations for the
burncrate.- Excludes:
DType
- Excludes:
- Contains implementations for the
"burn_dtype"- Contains the specific implementation for the
burncrate'sDTypetype since it can conflict with the"bincode"feature. - Only use this feature if you are NOT using
"bincode".
- Contains the specific implementation for the
"tokio"- Contains implementations for the
tokioandtokio-rustlscrate.TlsStream<T: AsyncWrite + AsyncRead + Unpin>Sender<Vec<u8>>Receiver<Vec<u8>>
- Contains implementations for the
"bincode"- Contains implementations for the
bincodecrate. - This feature conflicts with the
"burn_dtype"feature.
- Contains implementations for the
"rand"- Contains implementations for the
randandrand_chachacrates.
- Contains implementations for the
"rustls"- Contains implementations for the
rustlscrate
- Contains implementations for the
"bevy"- Contains implementations for the
bevycrate, version 0.15
- Contains implementations for the
"glam"- Contains implementations for the
glamcrate
- Contains implementations for the
"avian3d"- Contains implementations for the
avian3dcrate
- Contains implementations for the
| ByteCon | Bevy | Avian3d |
|---|---|---|
| 0.5 | 0.16 | 0.3 |
| 0.4 | 0.15 |
- Additional implementations for other common crates
- Feel free to add issues for your favorite crates