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 whenevertypst-ts-core
is added without
somewhere in the dependency tree.default-features = false - 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