Crates.io | vbs |
lib.rs | vbs |
version | 0.1.7 |
source | src |
created_at | 2024-03-27 19:00:54.899951 |
updated_at | 2024-10-22 22:37:43.042375 |
description | Version-tagged serialization adaptor with compile-time version checking |
homepage | |
repository | https://github.com/EspressoSystems/versioned-binary-serialization.git |
max_upload_size | |
id | 1188291 |
size | 37,698 |
Provides the following:
StaticVersionType
for constraining to a version (major.minor) at compile-time.
StaticVersion<const MAJOR: u16, const MINOR: u16>
.Version
for runtime operations against a version, without requiring dyn
semver
crate.BinarySerializer
, an adaptor that can be implemented around any data format that adapts the serde
data model.
[de]serialize_no_version
operations, which, by default, should simply be the same as calling type.serialize(serializer)
for the embedded serializer.