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. Seesyntastica
’s WebAssembly support for more information. -
runtime-c2rust
— Use the pure Rust tree-sitter runtime. Seesyntastica
’s WebAssembly support for more information. -
serde
— Provide implementations of serde’sSerialize
andDeserialize
traits forTheme
andStyle
-
docs
— Enable this when building the docs
Modules
- Defines the
LanguageSet
trait and some related types. - Defines items related to theming the output.
Macros
- Convenience macro for constructing new
Theme
s.
Enums
- The main error type.
Type Aliases
- The main result type.