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

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.

tree-sitter-runtime-c2rust tree-sitter-c2rust

Enables tree-sitter-c2rust

tree-sitter-runtime-standard tree-sitter-standard?

Enables tree-sitter