Cargo Features
[dependencies]
topiary-config = { version = "0.5.1", default-features = false, features = ["parallel", "ocaml", "toml", "tree_sitter_query", "all"] }
- default = parallel
-
The
parallel
feature is set by default whenevertopiary-config
is added without
somewhere in the dependency tree.default-features = false - parallel default
-
Enabling the
parallel
feature enables parallel computation where possible. At the moment, this is only in grammar prefetchingEnables rayon
- bash css json nickel ocaml all?
- ocaml_interface ocamllex rust toml all?
- tree_sitter_query all?
- all = bash, css, json, nickel, ocaml, ocaml_interface, ocamllex, rust, toml, tree_sitter_query
-
This a convenience for the sake of downstream applications which don't wish to cherry-pick grammars (e.g., the playground)