Cargo Features
[dependencies]
languagetool-rust = { version = "3.0.1", default-features = false, features = ["full", "annotate", "cli", "cli-complete", "color", "docker", "html", "markdown", "multithreaded", "native-tls", "native-tls-vendored", "snapshots", "typst", "unstable"] }
- default = cli, native-tls
-
These default features are set whenever
languagetool-rustis added withoutsomewhere in the dependency tree.default-features = false - full = cli-complete, docker, unstable
- annotate cli
-
Enables annotate-snippets ^0.9
- cli default cli-complete? = annotate, color, html, markdown, multithreaded, typst
-
Enables clap, clap-verbosity-flag, enum_dispatch, is-terminal, log, and pretty_env_logger
Affects
check::parse_language_code,words::RequestArgs,languagetool-rust::cli…Required by the ltrs binary
- cli-complete full? = clap_complete, cli
- color cli
-
Enables termcolor, color of optional annotate-snippets ^0.9
- docker full?
- html cli markdown?
-
Enables ego-tree and scraper ^0.24
- markdown cli = html
-
Enables pulldown-cmark
Affects
parsers::markdown… - multithreaded cli
-
Enables tokio
- native-tls default
-
Enables native-tls of reqwest ^0.12
- native-tls-vendored
-
Enables native-tls-vendored of reqwest ^0.12
- snapshots
-
Only for testing
- typst cli
-
Enables typst-syntax
Affects
parsers::typst… - unstable full?
-
Affects
responses::DetectedLanguage.confidence,responses::DetectedLanguage.source,responses::Rule.is_premium,responses::Rule.source_file,responses::Match.context_for_sure_match,responses::Match.ignore_for_incomplete_sentence,responses::Match.type_,responses::Software.premium_hint,responses::Response.sentence_ranges,responses::Response.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.