velociredactor 0.1.1

Redact secrets and PII from text and structured files, with stable numbered redactions
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"
rust-version = "1.88"
name = "velociredactor"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redact secrets and PII from text and structured files, with stable numbered redactions"
homepage = "https://github.com/phayes/velociredactor"
documentation = "https://docs.rs/velociredactor"
readme = "README.crate.md"
keywords = [
    "redaction",
    "secrets",
    "pii",
    "gitleaks",
    "security",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/phayes/velociredactor"

[features]
csv = ["dep:csv"]
default = [
    "parallel",
    "json",
    "yaml",
    "toml",
    "xml",
    "hcl",
    "ini",
    "dotenv",
    "properties",
    "csv",
    "plist",
]
dotenv = ["dep:ini-roundtrip"]
hcl = ["dep:hcl-edit"]
ini = ["dep:ini-roundtrip"]
json = ["dep:jsonc-parser"]
parallel = ["dep:rayon"]
plist = ["dep:plist"]
privacy-filter = [
    "dep:privacy-filter-rs",
    "dep:burn",
    "dep:tokenizers",
    "dep:rayon",
]
privacy-filter-accelerate = [
    "privacy-filter",
    "privacy-filter-rs/blas-accelerate",
]
privacy-filter-cuda = [
    "privacy-filter",
    "burn/cuda",
    "dep:cudarc",
]
privacy-filter-openblas = [
    "privacy-filter",
    "privacy-filter-rs/openblas-system",
]
properties = [
    "dep:java-properties",
    "dep:encoding_rs",
]
toml = ["dep:toml_edit"]
xml = ["dep:quick-xml"]
yaml = ["dep:saphyr-parser"]

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

[[example]]
name = "custom"
path = "examples/custom.rs"

[[test]]
name = "comments"
path = "tests/comments.rs"

[[test]]
name = "formats"
path = "tests/formats.rs"

[[test]]
name = "json"
path = "tests/json.rs"

[[test]]
name = "pii"
path = "tests/pii.rs"

[[test]]
name = "privacy_filter"
path = "tests/privacy_filter.rs"

[[test]]
name = "redaction"
path = "tests/redaction.rs"

[[test]]
name = "rules"
path = "tests/rules.rs"

[[test]]
name = "text"
path = "tests/text.rs"

[[bench]]
name = "redact"
path = "benches/redact.rs"
harness = false

[dependencies.aho-corasick]
version = "1"

[dependencies.burn]
version = "0.20.1"
features = [
    "std",
    "ndarray",
]
optional = true
default-features = false

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

[dependencies.cudarc]
version = "0.18"
features = [
    "std",
    "driver",
    "dynamic-loading",
]
optional = true
default-features = false

[dependencies.encoding_rs]
version = "0.8"
optional = true

[dependencies.expr-lang]
version = "2.1"
features = ["regex"]
default-features = false

[dependencies.flate2]
version = "1"

[dependencies.hcl-edit]
version = "0.9"
optional = true

[dependencies.include_dir]
version = "0.7"

[dependencies.indexmap]
version = "2"

[dependencies.ini-roundtrip]
version = "0.2"
optional = true

[dependencies.java-properties]
version = "2"
optional = true

[dependencies.jsonc-parser]
version = "0.33"
optional = true

[dependencies.memchr]
version = "2"

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

[dependencies.privacy-filter-rs]
version = "0.1"
optional = true

[dependencies.quick-xml]
version = "0.42"
optional = true

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

[dependencies.regex]
version = "1"
features = ["perf-dfa-full"]

[dependencies.regex-syntax]
version = "0.8"

[dependencies.saphyr-parser]
version = "0.0.12"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tiktoken-rs]
version = "0.12"

[dependencies.tokenizers]
version = "0.21"
features = ["onig"]
optional = true
default-features = false

[dependencies.toml]
version = "1"

[dependencies.toml_edit]
version = "0.25"
optional = true

[dependencies.url]
version = "2"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.hcl-edit]
version = "0.9"

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

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

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

[dev-dependencies.serde_yaml_ng]
version = "0.10"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.toml_edit]
version = "0.25"