Cargo Features

[dependencies]
syntastica-core = { version = "0.5.0", 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 syntastica's WebAssembly support for more information.

Enables tree-sitter, 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, runtime-c2rust of syntastica-highlight

serde

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

Enables serde, serializing of palette

docs

Enable this when building the docs

Enables document-features and rustc_version