[package]
edition = "2024"
name = "forbidden-strings"
version = "0.1.9"
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
"Cargo.lock",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Out-of-band scanner for forbidden literal strings and regex patterns. Gitignore-aware, fast, dependency-light: built for CI deny-listing of leaked credentials and banned tokens."
homepage = "https://github.com/Aquaticat/Monochromatic/tree/main/packages/cli/forbidden-strings"
readme = "README.md"
keywords = [
"security",
"secrets",
"scanner",
"deny-list",
"ci",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/Aquaticat/Monochromatic.git"
[features]
fuzzing = []
[lib]
name = "forbidden_strings"
path = "src/lib.rs"
[[bin]]
name = "forbidden-strings"
path = "src/main.rs"
[dependencies.aho-corasick]
version = "1"
[dependencies.gix-hash]
version = "0.25"
features = [
"sha1",
"sha256",
]
default-features = false
[dependencies.gix-index]
version = "0.51"
features = ["sha1"]
default-features = false
[dependencies.ignore]
version = "0.4"
[dependencies.memchr]
version = "2"
[dependencies.rayon]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.resharp]
version = "0.6.11"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "unwind"
overflow-checks = true
strip = true