Cargo Features

[dependencies]
tree-sitter-loader = { version = "0.24.6", default-features = false, features = ["wasm", "tree-sitter-highlight", "tree-sitter-tags"] }
wasm

Enables wasm of tree-sitter

default = tree-sitter-highlight, tree-sitter-tags

TODO: For backward compatibility these must be enabled by default,
consider removing for the next semver incompatible release

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.

tree-sitter-highlight default
tree-sitter-tags default