A compact binary serialization format implementation for Rust with zero-copy deserialization support.
Bincode is a binary serialization library for Rust that encodes and decodes data structures into compact binary format. It provides efficient serialization with minimal overhead while maintaining type safety and supporting zero-copy deserialization for performance-critical applications.
Rust developers who need efficient binary serialization for network communication, file storage, or inter-process communication, particularly those working on performance-sensitive or embedded systems.
Developers choose Bincode for its combination of compact binary output, zero-copy deserialization capabilities, and seamless integration with Rust's type system, making it ideal for scenarios where both performance and memory efficiency are critical.
A binary encoder / decoder implementation in Rust.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Omits field names and type information to produce minimal binary size, ideal for bandwidth-limited or storage-constrained applications.
Supports borrowing data during deserialization, avoiding unnecessary allocations and improving performance in memory-sensitive contexts.
Leverages Rust's type system for compile-time safety, ensuring reliable serialization and deserialization without runtime errors.
Works seamlessly with Rust's standard collections and common data types, reducing setup complexity and boilerplate code.
Designed exclusively for Rust, making it unsuitable for cross-language data interchange without additional bridging layers.
The compact binary format is not human-readable, complicating debugging, data inspection, and manual editing of serialized output.
Does not inherently support schema evolution, so changes to data structures can break deserialization without careful manual version management.