dd-sensitive-data-scanner 0.0.0

Core Sensitive Data Scanner library for detecting and redacting sensitive information.
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 = "dd-sensitive-data-scanner"
version = "0.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Sensitive Data Scanner library for detecting and redacting sensitive information."
documentation = "https://datadoghq.dev/dd-sensitive-data-scanner/dd_sds/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/DataDog/dd-sensitive-data-scanner"

[features]
bench = []
dd-sds = []
dd_sds_go = [
    "dd-sds",
    "sds-bindings-utils",
    "dep:serde_path_to_error",
]
default = ["dd-sds"]
hyperscan = [
    "sds-fuzz",
    "dep:hyperscan",
]
manual_test = ["sds-fuzz"]
match_validation = []
sds-bindings-utils = ["dd-sds"]
sds-fuzz = [
    "dd-sds",
    "dep:afl",
    "dep:rand",
]
testing = []
utf16_hash_match_action = []

[lib]
name = "dd_sds"
crate-type = [
    "staticlib",
    "cdylib",
    "lib",
]
path = "src/lib.rs"

[[bin]]
name = "fuzz"
path = "tools/fuzz/src/main.rs"
required-features = ["sds-fuzz"]

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

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

[dependencies.afl]
version = "0.14.5"
optional = true

[dependencies.ahash]
version = "0.8.7"

[dependencies.aws-sign-v4]
version = "0.3.0"

[dependencies.base62]
version = "2.0.2"

[dependencies.base64]
version = "0.22.1"

[dependencies.bitcoin]
version = "0.32.6"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.crc32fast]
version = "1.4.0"

[dependencies.ethaddr]
version = "0.2.2"

[dependencies.farmhash2]
version = "1.1.5"

[dependencies.futures]
version = "0.3.31"

[dependencies.hyperscan]
version = "0.3.2"
features = ["static"]
optional = true

[dependencies.iban_validate]
version = "4"

[dependencies.iso_iec_7064]
version = "0.1.1"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.metrics]
version = "0.24.0"

[dependencies.metrics-util]
version = "0.18.0"

[dependencies.moka]
version = "0.12.12"
features = ["sync"]

[dependencies.monero]
version = "0.21.0"

[dependencies.nom]
version = "7.1.3"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.rand]
version = "0.8.5"
optional = true

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.9.5"

[dependencies.regex-automata]
version = "0.4.7"

[dependencies.regex-pool]
version = "0.1.1"

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

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "charset",
    "http2",
    "rustls-tls-native-roots",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.114"

[dependencies.serde_path_to_error]
version = "0.1.17"
optional = true

[dependencies.serde_with]
version = "3.6.1"

[dependencies.slab]
version = "0.4.11"

[dependencies.slotmap]
version = "1.0.7"

[dependencies.strum]
version = "0.25"
features = ["derive"]

[dependencies.thiserror]
version = "1.0.58"

[dependencies.tokio]
version = "1.46.1"
features = ["full"]

[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]

[dev-dependencies.httpmock]
version = "0.7.0"

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

[dev-dependencies.serde_test]
version = "1.0.176"

[dev-dependencies.serde_yaml]
version = "0.9.34"

[dev-dependencies.threadpool]
version = "1.8.1"