Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Bit-Slice De/Serialization
Bit-slice references and containers serialize as sequences with additional
metadata.
Serde only provides a deserializer for `&[u8]`; wider integers and
interior-mutability wrappers are not able to view a transport buffer without
potentially modifying it, and the buffer is not modifiable while being used for
deserialization. As such, only `&BitSlice<u8, O>` has a no-copy deserialization
implementation.
If you need other storage types, you will need to deserialize into a `BitBox` or
`BitVec`. If you do not have an allocator, you must *serialize from* and
deserialize into a `BitArray`.