uint-zigzag 0.2.1

Uint is a convenience wrapper for zig-zag encoding integers to byte sequences. This allows better compression since the majority of numbers are quite small resulting in 1 or 2 bytes in the most common case vs 4 for 32-bit numbers or 8 for 64-bit numbers. This also permits the user to not have to think about which integer type is the most efficient to compress.
Documentation
[dependencies.core2]
default-features = false
version = "0.4"

[dependencies.serde]
features = ["serde_derive"]
optional = true
version = "1"

[features]
alloc = ["core2/alloc"]
default = []
std = ["core2/std"]

[package]
authors = ["Michael Lodder <redmike7@gmail.com>"]
categories = ["compression", "encoding", "no-std"]
description = """
Uint is a convenience wrapper for zig-zag encoding integers to byte sequences.

This allows better compression since the majority of numbers are quite small resulting
in 1 or 2 bytes in the most common case vs 4 for 32-bit numbers or 8 for 64-bit numbers.

This also permits the user to not have to think about which integer type is the most efficient to compress.
"""
documentation = "https://docs.rs/uint-zigzag"
edition = "2021"
homepage = "https://github.com/mikelodder7/uint"
license = "Apache-2.0 OR MIT"
name = "uint-zigzag"
readme = "README.md"
repository = "https://github.com/mikelodder7/uint"
version = "0.2.1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]