byte-unit 5.2.3

A library for interacting with units of bytes.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

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

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

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

[dependencies.rocket]
version = "0.5"
optional = true

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

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

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

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

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