# 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 = "2018" name = "human_bytes" version = "0.4.3" authors = ["Namkhai B. "] description = "Crate to convert bytes into human-readable values" homepage = "https://sr.ht/~nkeor/human_bytes" readme = "README.md" keywords = [ "bytes", "conversion", "format", "value-formatting", "utility", ] categories = ["value-formatting"] license = "BSD-2-Clause" repository = "https://git.sr.ht/~nkeor/human_bytes" [profile.release] lto = true strip = true [[bin]] name = "hb" required-features = ["build-binary"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.lexopt] version = "0.3" optional = true [dependencies.ryu] version = "1.0" optional = true [features] build-binary = [ "anyhow", "lexopt", ] default = ["si-units"] fast = ["ryu"] si-units = []