rustrict 0.4.15

rustrict is a profanity filter for Rust
Documentation
[package]
name = "rustrict"
authors = ["Finn Bear"]
version = "0.4.15"
edition = "2018"
license = "MIT OR Apache-2.0"
repository = "https://github.com/finnbear/rustrict/"
description = "rustrict is a profanity filter for Rust"
exclude = ["fuzz/"]

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

[[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 = "character_analyzer"
path = "src/character_analyzer.rs"
required-features = ["imageproc", "image", "rusttype", "unicode-width", "walkdir", "rayon"]

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

[features]
default = ["censor", "context"]
censor = ["bitflags", "lazy_static", "itertools", "unicode-normalization", "rustc-hash"]
context = ["censor", "strsim"]
customize = ["censor"]
width = []
reset_censor = ["censor"]
find_false_positives = ["censor", "regex", "indicatif", "rayon"]
find_replacements = ["csv"]
trace = ["censor"]

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

[patch.crates-io]
# crates.io not up to date (see https://github.com/swgillespie/unicode-categories/issues/12)
unicode_categories = { git = "https://github.com/swgillespie/unicode-categories" }

[dependencies]
unicode_categories = "0.1.1"
unicode-normalization = {version = "0.1", optional = true}
unicode-width = {version = "0.1", optional = true}
bitflags = {version = "1.3", optional = true}
lazy_static = {version = "1.4", optional = true}
itertools = {version = "0.10", optional = true}
rustc-hash = {version = "1.1", optional = true}
regex = {version = "1.5", optional = true}
indicatif = {version = "0.17.0-beta.1", optional = true}
rayon = {version = "1.5", optional = true}
doc-comment = "0.3.3"
strsim = {version = "0.10.0", optional = true}
csv = {version="1.1", optional = true}
imageproc = {version = "0.22", optional = true}
rusttype = {version = "0.9", optional = true}
image = {version = "0.23.14", optional = true}
walkdir = {version = "2", optional = true}

[dev-dependencies]
rand = "0.8"
csv = "1.1"
censor_crate = {package = "censor", version = "0.2.0"}
rustrict_old = {package = "rustrict", version = "0.4.9"}
serial_test = "0.5"