Cargo Features
[dependencies]
rust-sitter = { version = "0.4.3", default-features = false, features = ["tree-sitter-c2rust", "tree-sitter-standard"] }
- default = tree-sitter-c2rust
-
The
tree-sitter-c2rust
feature is set by default wheneverrust-sitter
is added without
somewhere in the dependency tree.default-features = false - tree-sitter-c2rust default = tree-sitter-runtime-c2rust
- tree-sitter-standard = tree-sitter-runtime-standard
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.