# 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.60.0" name = "human-units" version = "0.2.0" build = false include = [ "**/*.rs", "Cargo.toml", "README.md", "LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Size and duration serialization and formatting library designed for configuration files and command line arguments" homepage = "https://github.com/igankevich/human-units" documentation = "https://docs.rs/human-units" readme = "README.md" keywords = [ "format", "duration", "bytes", "configuration", "serialization", ] categories = [ "encoding", "value-formatting", "config", "data-structures", ] license = "MIT" repository = "https://github.com/igankevich/human-units" [package.metadata.docs.rs] features = ["serde"] [lib] name = "human_units" path = "src/lib.rs" [[bench]] name = "size" path = "benches/size.rs" [dependencies.serde] version = "1.0.210" features = ["derive"] optional = true [dev-dependencies.arbitrary] version = "1.3.2" features = [ "derive", "derive_arbitrary", ] [dev-dependencies.arbtest] version = "0.3.1" [dev-dependencies.clap] version = "4.5.17" features = ["derive"] [dev-dependencies.colored] version = "2.1.0" [dev-dependencies.human-repr] version = "1.1.0" features = [ "1024", "space", ] [dev-dependencies.human_bytes] version = "0.4.3" features = ["fast"] [dev-dependencies.serde] version = "1.0.210" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.128" [dev-dependencies.serde_yaml] version = "0.9.34" [dev-dependencies.toml] version = "0.8.19" [features] default = [] no_std = [] serde = ["dep:serde"] [lints.clippy] expect_used = "deny" panic = "deny" unwrap_used = "deny" [lints.rust] missing_docs = "warn"