Cargo Features

[dependencies]
typst-ts-core = { version = "0.5.0-rc5", default-features = false, features = ["full", "flat-vector", "no-content-hint", "glyph2vec", "vector-bbox", "web", "rkyv"] }
default = full

The full feature is set by default whenever typst-ts-core is added without default-features = false somewhere in the dependency tree.

full default = flat-vector, glyph2vec, web
flat-vector full

Enables flat-vector of reflexo

debug-gc experimental-ligature no-content-hint
glyph2vec full
vector-bbox
web full

Enables js-sys, wasm-bindgen and web-sys, web of reflexo

Features from optional dependencies

rkyv implicit feature

Enables rkyv

rkyv:

Zero-copy deserialization framework for Rust