# 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.64.0" name = "languagetool-rust" version = "2.1.4" authors = ["Jérome Eertmans "] include = [ "src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md", ] description = "LanguageTool API bindings in Rust." readme = "README.md" keywords = [ "languagetool", "rust", ] license = "MIT" repository = "https://github.com/jeertmans/languagetool-rust" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "languagetool_rust" path = "src/lib/lib.rs" [[bin]] name = "ltrs" path = "src/bin.rs" required-features = ["cli"] [[test]] name = "cli" path = "tests/cli.rs" required-features = ["cli"] [[test]] name = "match-positions" path = "tests/match_positions.rs" [[bench]] name = "bench_main" path = "benches/bench_main.rs" harness = false [dependencies.annotate-snippets] version = "^0.9.1" optional = true [dependencies.clap] version = "^4.0" features = [ "cargo", "derive", "env", "wrap_help", ] optional = true [dependencies.clap_complete] version = "^4.0" optional = true [dependencies.is-terminal] version = "0.4.3" optional = true [dependencies.reqwest] version = "^0.11" features = ["json"] default-features = false [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.termcolor] version = "1.2.0" optional = true [dependencies.thiserror] version = "^1.0" [dependencies.tokio] version = "^1.0" features = [ "macros", "rt-multi-thread", ] optional = true [dev-dependencies.assert_cmd] version = "2.0.11" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.futures] version = "0.3" [dev-dependencies.predicates] version = "3.0.3" [dev-dependencies.tempfile] version = "3.5.0" [dev-dependencies.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 = []