Cargo Features

[dependencies]
syntastica-core = { version = "0.4.1", default-features = false, features = ["runtime-c", "runtime-c2rust", "docs", "serde"] }
default = runtime-c

## Features

runtime-c default

Use the standard tree-sitter C runtime. See syntastica's WebAssembly support for more information.

Enables tree-sitter ^0.20.10, runtime-c of syntastica-highlight

runtime-c2rust

Use the pure Rust tree-sitter runtime. See syntastica's WebAssembly support for more information.

Enables tree-sitter-c2rust ^0.20.10, runtime-c2rust of syntastica-highlight

docs

Enable this when building the docs

Enables document-features and rustc_version

Features from optional dependencies

serde implicit feature

Enables serde

Provide implementations of serde's Serialize and Deserialize traits for Theme