[package]
edition = "2024"
name = "aliased"
version = "0.1.5"
authors = ["Michael Dougherty <maackle.d@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rewrite Debug output to replace long opaque values with short human-friendly aliases."
readme = "README.md"
keywords = [
"debug",
"logging",
"alias",
"pretty-print",
"testing",
]
categories = [
"development-tools::debugging",
"development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/maackle/aliased"
[package.metadata.docs.rs]
all-features = true
[features]
contextual = [
"dep:aho-corasick",
"dep:regex",
]
default = [
"global",
"tracing",
]
global = [
"dep:aho-corasick",
"dep:regex",
]
tracing = ["dep:tracing"]
[lib]
name = "aliased"
path = "src/lib.rs"
[[example]]
name = "structs"
path = "examples/structs.rs"
required-features = ["global"]
[[test]]
name = "nested"
path = "tests/nested.rs"
[[test]]
name = "primitives"
path = "tests/primitives.rs"
[[test]]
name = "substitution"
path = "tests/substitution.rs"
[dependencies.aho-corasick]
version = "1"
optional = true
[dependencies.regex]
version = "1"
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.derive_more]
version = "2.1"
features = ["full"]
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.tracing-test]
version = "0.2"
features = ["no-env-filter"]