[package]
edition = "2021"
rust-version = "1.56"
name = "hex-display"
version = "0.3.2"
authors = ["Jarred Allen <jarredallen73@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Display impl for byte slices which provides a hexdump"
documentation = "https://docs.rs/crate/hex-display/latest"
readme = "README.md"
keywords = [
"hex",
"slice",
"no-std",
]
categories = [
"no-std",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/JarredAllen/hex-display"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
std = ["alloc"]
[lib]
name = "hex_display"
path = "src/lib.rs"
[[bench]]
name = "format"
path = "benches/format.rs"
harness = false
required-features = ["alloc"]
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes_without_reason = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
unnecessary_self_imports = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
single_use_lifetimes = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_extern_crates = "warn"
unused_qualifications = "warn"