# 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.76.0" name = "cargo-spellcheck" version = "0.15.1" authors = ["Bernhard Schuster "] build = "build.rs" include = [ "nlprule-data/**/*.bin.xz", "hunspell-data/*", "src/**/*.rs", "Cargo.toml", "build.rs", "/LICENSE-*", "/README.md", "tests/**/*.rs", "CHANGELOG.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Checks all doc comments for spelling mistakes" homepage = "https://github.com/drahnr/cargo-spellcheck" readme = "README.md" keywords = [ "spellcheck", "spelling", "grammar", ] license = "MIT OR Apache-2.0" repository = "https://github.com/drahnr/cargo-spellcheck.git" [package.metadata.spellcheck] config = ".config/spellcheck.toml" [profile.dev.package.backtrace] opt-level = 3 [profile.dev.package.bincode] opt-level = 3 [profile.dev.package.hunspell-rs] opt-level = 3 [profile.dev.package.nlprule] opt-level = 3 [profile.dev.package.sha2] opt-level = 3 [profile.dev.package.xz2] opt-level = 3 [profile.dev.build-override] opt-level = 2 [profile.release] debug = 2 [lib] name = "cargo_spellcheck" path = "src/lib.rs" [[bin]] name = "cargo-spellcheck" path = "src/main.rs" [[test]] name = "signal_handler" path = "tests/signal_handler.rs" [dependencies.bincode] version = "1" [dependencies.cargo_toml] version = "0.20" [dependencies.clap] version = "4.1.8" features = [ "derive", "env", ] [dependencies.clap-verbosity-flag] version = "2.0" [dependencies.clap_complete] version = "4.1.4" [dependencies.color-eyre] version = "0.6" [dependencies.console] version = "0.15" [dependencies.crossterm] version = "0.27" [dependencies.directories] version = "5" [dependencies.doc-chunks] version = "0.2.0" [dependencies.encoding_rs] version = "0.8.31" features = [] optional = true [dependencies.env_logger] version = "0.11" [dependencies.fancy-regex] version = "0.13" [dependencies.fd-lock] version = "4" optional = true [dependencies.fs-err] version = "2" features = ["io_safety"] [dependencies.futures] version = "0.3" [dependencies.glob] version = "0.3" [dependencies.hex] version = "0.4" [dependencies.hunspell-rs] version = "0.4.0" optional = true [dependencies.ignore] version = "0.4.18" [dependencies.indexmap] version = "2" features = [ "rayon", "serde", ] [dependencies.iso_country] version = "0.1" features = ["serde"] [dependencies.isolang] version = "2" features = ["serde"] [dependencies.itertools] version = "0.12" [dependencies.lazy_static] version = "1" [dependencies.log] version = "0.4" [dependencies.memchr] version = "2" [dependencies.nlprule] version = "=0.6.4" optional = true [dependencies.num_cpus] version = "1.13" [dependencies.proc-macro2] version = "1" features = ["span-locations"] [dependencies.pulldown-cmark] version = "0.10" [dependencies.rayon] version = "1.5" [dependencies.regex] version = "1.5" [dependencies.serde] version = "1" features = ["derive"] [dependencies.sha2] version = "0.10" [dependencies.signal-hook] version = "0.3" [dependencies.spellbook] version = "0.1" optional = true [dependencies.syn] version = "2" features = ["full"] [dependencies.thiserror] version = "1" [dependencies.thousands] version = "0.2" [dependencies.tokio] version = "1" features = [ "full", "rt-multi-thread", ] [dependencies.toml] version = "0.8" [dependencies.url] version = "2" features = ["serde"] [dependencies.uuid] version = "1.0.0" features = ["v4"] [dependencies.xz2] version = "0.1" [dependencies.zspell] version = "0.5.5" optional = true [dev-dependencies.assert_matches] version = "1" [dev-dependencies.console] version = "0.15" [dev-dependencies.maplit] version = "1" [dev-dependencies.nix] version = "0.26.2" [dev-dependencies.serde_plain] version = "1" [build-dependencies.nlprule-build] version = "=0.6.4" optional = true [build-dependencies.xz2] version = "0.1" [features] all = [ "hunspell", "zet", "spellbook", "nlprules", ] default = ["all"] hunspell = [ "dep:hunspell-rs", "hunspell-rs?/bundled", "dep:fd-lock", "nlprules", "dep:encoding_rs", ] nlprules = [ "dep:nlprule", "nlprule?/regex-fancy", "dep:nlprule-build", ] spellbook = ["dep:spellbook"] zet = ["dep:zspell"]