| Crates.io | rawbin |
| lib.rs | rawbin |
| version | 1.0.0 |
| created_at | 2025-12-22 21:33:47.226531+00 |
| updated_at | 2025-12-22 21:35:36.283982+00 |
| description | Minimal, pure-Rust bincode-like serializer/deserializer used by pacm. |
| homepage | https://github.com/pacmpkg/rawbin |
| repository | https://github.com/pacmpkg/rawbin |
| max_upload_size | |
| id | 2000291 |
| size | 47,312 |
Minimal, pure-Rust bincode-like serializer/deserializer used by the pacm project. This crate provides a small, focused implementation that supports the subset of serde types required by pacm's lockfile handling.
serde)bincode1::config::DefaultOptions compatibility helpersAdd the crate to your Cargo.toml:
[dependencies]
rawbin = "1"
Example usage (decoding):
use rawbin::config;
use rawbin::serde::decode_from_slice;
let data: &[u8] = &[]; // wire-format bytes
let cfg = config::standard().with_limit::<{16 * 1024 * 1024}>();
let (value, _read) = decode_from_slice::<YourType>(data, cfg).expect("decode");
cargo buildcargo testact or use GitHub ActionsThis project is dual-licensed under MIT OR Apache-2.0. See the LICENSE-MIT and LICENSE-APACHE files in this repository.
Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md before contributing.