forked from drahnr/cargo-spellcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (51 loc) · 1.56 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "cargo-spellcheck"
version = "0.4.7-alpha.0"
authors = ["Bernhard Schuster <[email protected]>"]
edition = "2018"
repository = "https://github.com/drahnr/cargo-spellcheck.git"
homepage = "https://github.com/drahnr/cargo-spellcheck"
license = "MIT OR Apache-2.0"
keywords = ["spellcheck", "spelling", "grammar"]
description = "Checks all doc comments for spelling mistakes"
readme = "README.md"
[dependencies]
docopt = "1"
serde = { version = "1", features = ["derive"] }
anyhow = "1"
proc-macro2 = { version = "1", features = ["span-locations"] }
walkdir = "2"
syn = { version = "1", features = ["full"] }
log = "0.4"
env_logger = "0.7"
console = "0.12"
indexmap = "1"
enumflags2 = "0.6"
# for the config file
toml = "0.5"
# for parsing and extracting elements from Cargo.toml
cargo_toml = "0.8"
directories = "3"
lazy_static = "1"
pulldown-cmark = "0.8"
itertools = "0.9"
crossterm = "0.18"
fancy-regex = "0.4"
signal-hook = "0.1"
# config parsing, must be independent of features
# TODO parse the country codes of dictionaries?
# iso_country = { version = "0.1" }
# isolang = { version = "1", features = ["serde_serialize"] }
url = { version = "2", features = ["serde"] }
# dictionary
hunspell-rs = { version = "0.3", default-features=false, optional = true }
# full grammar check
languagetool-rs = { version = "0.1", package = "languagetool", optional = true }
[dev-dependencies]
# for stripping ansi color codes
console = "0.12"
[features]
default = ["hunspell"]
languagetool = ["languagetool-rs"]
hunspell = ["hunspell-rs/bundled"]
all = ["hunspell", "languagetool"]