概要
Fast, bincode‑compatible serializer/deserializer focused on in‑place initialization and direct memory writes.
その他のプロジェクト計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルwincode
Fast, bincode‑compatible serializer/deserializer focused on in‑place initialization and direct memory writes.
Quickstart
wincode traits are implemented for many built-in types (like Vec, integers, etc.).
You'll most likely want to start by using wincode on your own struct types, which can be done with the derive macros.
#[derive(SchemaWrite, SchemaRead)]
struct MyStruct {
data: Vec<u64>,
win: bool,
}
let val = MyStruct { data: vec![1,2,3], win: true };
assert_eq!(wincode::serialize(&val).unwrap(), bincode::serialize(&val).unwrap());
See the docs for more details.
Benchmarks
Run benchmarks comparing wincode against bincode:
cargo bench --features derive
Security
Release v0.1.2 has undergone 3 independent security reviews with the following firms:
Fuzzing
This crate has been fuzzed using the harness in the fuzz folder for roundtrip correctness against bincode.
関連プロジェクトを探す
読み込み中…