# 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" rust-version = "1.65.0" name = "decancer" version = "3.2.8" authors = ["null (https://github.com/null8626)"] build = "build.rs" exclude = ["rustfmt.toml"] autobins = false autoexamples = false autotests = false autobenches = false description = "A library that removes common unicode confusables/homoglyphs from strings." readme = "README.md" keywords = [ "security", "unicode", "homoglyphs", "moderation", "confusables", ] categories = [ "parsing", "text-processing", "value-formatting", ] license = "MIT" repository = "https://github.com/null8626/decancer" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "decancer" path = "src/lib.rs" [[bench]] name = "decancer_bench" path = "benches/decancer_bench.rs" harness = false [dependencies.lazy_static] version = "1" optional = true [dependencies.paste] version = "1" [dependencies.regex] version = "1" features = [ "std", "perf", ] optional = true default-features = false [dependencies.serde] version = "1" optional = true default-features = false [dev-dependencies.censor] version = "0.3" [dev-dependencies.criterion] version = "0.5" default-features = false [dev-dependencies.proptest] version = "1" features = ["std"] default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1" [features] default = [ "options", "separators", "leetspeak", ] leetspeak = [ "regex", "lazy_static", ] options = [] separators = [] [lints.clippy] cast-lossless = "allow" cast-possible-truncation = "allow" cast-possible-wrap = "allow" cast-sign-loss = "allow" inline-always = "allow" module-name-repetitions = "allow" must-use-candidate = "allow" return-self-not-must-use = "allow" similar-names = "allow" single-match-else = "allow" too-many-lines = "allow" unreadable-literal = "allow" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1