-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
75 lines (65 loc) · 2.1 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
64
65
66
67
68
69
70
71
72
73
74
75
[[bench]]
harness = false
name = "bench_main"
path = "benches/bench_main.rs"
[[bin]]
name = "ltrs"
path = "src/bin.rs"
required-features = ["cli"]
[dependencies]
annotate-snippets = {version = "^0.9.1", optional = true}
clap = {version = "^4.0", features = ["cargo", "derive", "env", "wrap_help"], optional = true}
clap_complete = {version = "^4.0", optional = true}
is-terminal = {version = "0.4.3", optional = true}
reqwest = {version = "^0.11", default-features = false, features = ["json"]}
serde = {version = "^1.0", features = ["derive"]}
serde_json = "^1.0"
termcolor = {version = "1.2.0", optional = true}
thiserror = "^1.0"
tokio = {version = "^1.0", features = ["macros", "rt-multi-thread"], optional = true}
[dev-dependencies]
assert_cmd = "2.0.11"
codspeed-criterion-compat = "2.7.0"
criterion = "0.5"
futures = "0.3"
predicates = "3.0.3"
tempfile = "3.5.0"
tokio = {version = "^1.0", features = ["macros"]}
[features]
annotate = ["dep:annotate-snippets"]
cli = ["annotate", "color", "dep:clap", "dep:is-terminal", "multithreaded"]
cli-complete = ["cli", "clap_complete"]
color = ["annotate-snippets?/color", "dep:termcolor"]
default = ["cli", "native-tls"]
docker = []
full = ["cli-complete", "docker", "unstable"]
multithreaded = ["dep:tokio"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
unstable = []
[lib]
name = "languagetool_rust"
path = "src/lib/lib.rs"
[package]
authors = ["Jérome Eertmans <jeertmans@icloud.com>"]
description = "LanguageTool API bindings in Rust."
edition = "2021"
include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md"]
keywords = ["languagetool", "rust"]
license = "MIT"
name = "languagetool-rust"
readme = "README.md"
repository = "https://github.com/jeertmans/languagetool-rust"
rust-version = "1.74.0"
version = "2.1.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "cli"
path = "tests/cli.rs"
required-features = ["cli"]
[[test]]
name = "match-positions"
path = "tests/match_positions.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html