112 lines
2.1 KiB
TOML
112 lines
2.1 KiB
TOML
# 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 = "2021"
|
|
rust-version = "1.85"
|
|
name = "bytesize"
|
|
version = "2.4.2"
|
|
authors = [
|
|
"Hyunsik Choi <hyunsik.choi@gmail.com>",
|
|
"MrCroxx <mrcroxx@outlook.com>",
|
|
"Rob Ede <robjtede@icloud.com>",
|
|
]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Semantic wrapper for byte count representations"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"byte",
|
|
"byte-size",
|
|
"utility",
|
|
"human-readable",
|
|
"format",
|
|
]
|
|
categories = [
|
|
"development-tools",
|
|
"filesystem",
|
|
"no-std",
|
|
]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/bytesize-rs/bytesize"
|
|
|
|
[package.metadata.cargo_check_external_types]
|
|
allowed_external_types = [
|
|
"arbitrary::*",
|
|
"serde_core::*",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
arbitrary = ["dep:arbitrary"]
|
|
default = ["std"]
|
|
serde = ["dep:serde_core"]
|
|
std = []
|
|
|
|
[lib]
|
|
name = "bytesize"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "ls"
|
|
path = "examples/ls.rs"
|
|
|
|
[[bench]]
|
|
name = "display"
|
|
path = "benches/display.rs"
|
|
harness = false
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dependencies.serde_core]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dev-dependencies.divan]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.quickcheck]
|
|
version = "1"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1"
|
|
|
|
[dev-dependencies.toml]
|
|
version = "1.1"
|
|
|
|
[lints.rust.future-incompatible]
|
|
level = "deny"
|
|
priority = 0
|
|
|
|
[lints.rust.missing-docs]
|
|
level = "warn"
|
|
priority = 0
|
|
|
|
[lints.rust.nonstandard-style]
|
|
level = "deny"
|
|
priority = 0
|
|
|
|
[lints.rust.rust-2018-idioms]
|
|
level = "deny"
|
|
priority = 0
|