redactable 0.3.2

Automatic redaction of sensitive data in structs for safe logging and debugging
Documentation
# 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 = "2024"
name = "redactable"
version = "0.3.2"
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "../README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automatic redaction of sensitive data in structs for safe logging and debugging"
homepage = "https://github.com/sformisano/redactable"
documentation = "https://docs.rs/redactable"
readme = "README.md"
keywords = [
    "redaction",
    "privacy",
    "security",
    "logging",
    "telemetry",
]
categories = [
    "development-tools",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/sformisano/redactable"
resolver = "2"

[features]
chrono = ["dep:chrono"]
default = [
    "policy",
    "redaction",
]
extras = [
    "chrono",
    "time",
    "uuid",
    "ip-address",
]
ip-address = []
json = [
    "redaction",
    "dep:serde",
    "dep:serde_json",
]
policy = []
redaction = ["policy"]
slog = [
    "json",
    "dep:slog",
    "redactable-derive/slog",
]
testing = []
time = ["dep:time"]
tracing = [
    "json",
    "dep:tracing",
    "redactable-derive/tracing",
]
tracing-valuable = [
    "tracing",
    "dep:valuable",
    "tracing/valuable",
]
uuid = ["dep:uuid"]

[lib]
name = "redactable"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.redactable-derive]
version = "0.3.2"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.slog]
version = "2.8"
features = ["nested-values"]
optional = true

[dependencies.time]
version = "0.3"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.uuid]
version = "1"
optional = true

[dependencies.valuable]
version = "0.1"
features = ["derive"]
optional = true

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.trybuild]
version = "1"