byte-unit 5.1.6

A library for interacting with units of bytes.
Documentation
[dependencies.rocket]
optional = true
version = "0.5"

[dependencies.rust_decimal]
default-features = false
optional = true
version = "1"

[dependencies.serde]
default-features = false
features = ["alloc"]
optional = true
version = "1"

[dependencies.utf8-width]
version = "0.1"

[dev-dependencies.serde_json]
version = "1"

[features]
bit = ["rust_decimal"]
byte = ["rust_decimal"]
default = ["std", "byte"]
rocket = ["dep:rocket", "std"]
rust_decimal = ["dep:rust_decimal"]
serde = ["dep:serde"]
std = ["serde?/std", "rust_decimal?/std"]
u128 = []

[lib]
name = "byte_unit"
path = "src/lib.rs"

[package]
authors = ["Magic Len <len@magiclen.org>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["no-std", "parser-implementations", "value-formatting"]
description = "A library for interacting with units of bytes."
edition = "2021"
homepage = "https://magiclen.org/byte-unit"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
keywords = ["byte", "unit", "kb", "mb", "gb"]
license = "MIT"
name = "byte-unit"
readme = "README.md"
repository = "https://github.com/magiclen/byte-unit"
rust-version = "1.70"
version = "5.1.6"

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