rustrict 0.7.39

rustrict is a profanity filter for Rust
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 = "2021"
name = "rustrict"
version = "0.7.39"
authors = ["Finn Bear"]
build = false
exclude = ["fuzz/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rustrict is a profanity filter for Rust"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/finnbear/rustrict/"

[package.metadata.docs.rs]
features = [
    "censor",
    "context",
    "customize",
    "width",
]

[features]
censor = [
    "arrayvec",
    "bitflags",
    "lazy_static",
    "itertools",
    "unicode-normalization",
    "rustc-hash",
]
context = [
    "censor",
    "strsim",
]
customize = ["censor"]
default = [
    "censor",
    "context",
]
find_false_positives = [
    "censor",
    "regex",
    "indicatif",
    "rayon",
]
find_replacements = ["csv"]
pii = [
    "lazy_static",
    "regex",
]
serde = [
    "dep:serde",
    "arrayvec/serde",
]
trace = ["censor"]
trace_full = ["trace"]
width = [
    "lazy_static",
    "itertools",
]

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

[[bin]]
name = "add_profanity"
path = "src/add_profanity.rs"
required-features = ["regex"]

[[bin]]
name = "character_analyzer"
path = "src/character_analyzer.rs"
required-features = [
    "imageproc",
    "image",
    "rusttype",
    "unicode-width",
    "walkdir",
    "rayon",
]

[[bin]]
name = "false_positive_finder"
path = "src/false_positive_finder.rs"
required-features = ["find_false_positives"]

[[bin]]
name = "replacement_finder"
path = "src/replacement_finder.rs"
required-features = ["find_replacements"]

[[bin]]
name = "trace"
path = "src/trace.rs"
required-features = ["trace"]

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

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

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

[dependencies.arrayvec]
version = "0.7"
optional = true

[dependencies.bitflags]
version = "1.3"
optional = true

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

[dependencies.doc-comment]
version = "0.3.3"

[dependencies.finl_unicode]
version = "1.2"

[dependencies.image]
version = "0.23.14"
optional = true

[dependencies.imageproc]
version = "0.22"
optional = true

[dependencies.indicatif]
version = "0.17.0-beta.1"
optional = true

[dependencies.itertools]
version = "0.10"
optional = true

[dependencies.lazy_static]
version = "1.4"
optional = true

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

[dependencies.regex]
version = "1.5"
optional = true

[dependencies.rustc-hash]
version = "1.1"
optional = true

[dependencies.rusttype]
version = "0.9"
optional = true

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

[dependencies.strsim]
version = "0.10.0"
optional = true

[dependencies.unicode-normalization]
version = "0.1.22"
optional = true

[dependencies.unicode-width]
version = "0.1"
optional = true

[dependencies.walkdir]
version = "2"
optional = true

[dev-dependencies.bincode]
version = "1.3.3"

[dev-dependencies.censor_crate]
version = "0.3.0"
package = "censor"

[dev-dependencies.csv]
version = "1.1"

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

[dev-dependencies.rustrict_old]
version = "0.7.36"
package = "rustrict"

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

[dev-dependencies.serial_test]
version = "0.5"

[dev-dependencies.stfu_crate]
version = "0.1.0"
package = "stfu"

[profile.release]
panic = "abort"