Crates.io | varing |
lib.rs | varing |
version | 0.10.0 |
created_at | 2025-03-30 16:15:00.836286+00 |
updated_at | 2025-08-12 20:17:12.740024+00 |
description | Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations supports. |
homepage | https://github.com/al8n/varing |
repository | https://github.com/al8n/varing |
max_upload_size | |
id | 1612539 |
size | 335,548 |
Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations supports.
[dependencies]
varing = "0.10"
arbitrary-int
: Support encode/decode arbitrary-int
types by using LEB128.bnum
: Support encode/decode bnum
types by using LEB128.chrono
: Support encode/decode chrono
types by using LEB128 (not fully compatible in const
context).chrono-tz
: Support encode/decode chrono-tz
types by using LEB128.ethereum-types
: Support encode/decode ethereum-types
types by using LEB128.float8
: Support encode/decode float8
types by using LEB128.half
: Support encode/decode half
types by using LEB128.num-complex
: Support encode/decode num-complex
types by using LEB128.num-rational
: Support encode/decode num-rational
types by using LEB128.primitive-types
: Support encode/decode primitive-types
types by using LEB128.ruint
: Support encode/decode ruint
types by using LEB128 (not compatible in const
context).time
: Support encode/decode time
types by using LEB128.This crate is tested with the quickcheck
crate and cargo fuzz
(including all optional features).
varing
is under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2025 Al Liu.