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 whenever topiary-config is added without default-features = false somewhere in the dependency tree.

parallel default

Enabling the parallel feature enables parallel computation where possible. At the moment, this is only in grammar prefetching

Enables 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)