Crates.io | rug-binserial |
lib.rs | rug-binserial |
version | 0.2.0 |
source | src |
created_at | 2021-01-12 19:10:44.308583 |
updated_at | 2021-10-27 19:25:14.613882 |
description | A very simple crate to serialize rug integers as strings of bytes (for use in efficient binary serialization) |
homepage | |
repository | https://github.com/rot256/rug-binserial |
max_upload_size | |
id | 340996 |
size | 6,120 |
Rug currently serializes integers as hexadecimal strings. This leads to a 2x overhead when using e.g. bincode.
This crate allows converting to/from a struct which is serialized as a vector of bytes. That's it.