Cargo Features

[dependencies]
languagetool-rust = { version = "2.1.4", default-features = false, features = ["full", "annotate", "cli", "cli-complete", "color", "docker", "multithreaded", "native-tls", "native-tls-vendored", "unstable"] }
default = cli, native-tls

These default features are set whenever languagetool-rust is added without default-features = false somewhere in the dependency tree.

full = cli-complete, docker, unstable
annotate cli

Enables annotate-snippets ^0.9.1

cli default cli-complete? = annotate, color, multithreaded

Enables clap and is-terminal

Affects check::parse_language_code, check::CheckCommand, check::CheckCommand.raw, docker::DockerCommand, languagetool-rust::cli, words::WordsRequestArgs, words::WordsSubcommand, words::WordsCommand

Required by the ltrs binary

cli-complete full? = clap_complete, cli
color cli

Enables termcolor, color of optional annotate-snippets ^0.9.1

docker full?

Affects languagetool-rust::docker

multithreaded cli

Enables tokio

native-tls default

Enables native-tls of reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

native-tls-vendored

Enables native-tls-vendored of reqwest ^0.11

unstable full?

Affects check::DetectedLanguage.confidence, check::DetectedLanguage.source, check::Rule.is_premium, check::Rule.source_file, check::Match.context_for_sure_match, check::Match.ignore_for_incomplete_sentence, check::Match.type_, check::Software.premium_hint, check::CheckResponse.sentence_ranges, check::CheckResponse.warnings

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

clap_complete cli-complete?