Cargo Features
[dependencies]
syntastica = { version = "0.4.1", default-features = false, features = ["runtime-c", "runtime-c2rust", "serde", "docs"] }
- default = runtime-c
-
## Features
- runtime-c default
-
Use the standard tree-sitter C runtime. See WebAssembly support for more information.
Enables runtime-c of syntastica-core and syntastica-highlight
- runtime-c2rust
-
Use the pure Rust tree-sitter runtime. See WebAssembly support for more information.
Enables runtime-c2rust of syntastica-core and syntastica-highlight
- serde
-
Provide implementations of serde's
Serialize
andDeserialize
traits forTheme
Enables serde of syntastica-core
- docs
-
Enable this when building the docs
Enables document-features and rustc_version