Cargo Features

[dependencies]
typst-ts-core = { version = "0.5.0-rc6", 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

Affects vector::incr

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 ^0.7.42

rkyv:

Zero-copy deserialization framework for Rust