Crate syntastica_core

source ·
Expand description

syntastica-core

Shared types and traits used by other syntastica crates.

See the project overview for more information.

Features

  • runtime-c (enabled by default) — Use the standard tree-sitter C runtime. See syntastica’s WebAssembly support for more information.

  • runtime-c2rust — Use the pure Rust tree-sitter runtime. See syntastica’s WebAssembly support for more information.

  • serde — Provide implementations of serde’s Serialize and Deserialize traits for Theme and Style

  • docs — Enable this when building the docs

Modules

Macros

  • Convenience macro for constructing new Themes.

Enums

  • The main error type.

Type Aliases