Cargo Features

[dependencies]
tinymist-std = { version = "0.13.2", default-features = false, features = ["full", "typst", "rkyv", "rkyv-validation", "web", "system", "bi-hash"] }
default = full

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

full default = rkyv, typst, web
typst full

Enables typst and typst-shim

Affects concepts::typst

rkyv full rkyv-validation?

Enables alloc and archive_le of rkyv ^0.7.42

rkyv-validation

Enables validation of rkyv ^0.7.42

web full = js-sys, wasm-bindgen

Affects time::now

system = same-file, tempfile

Affects fs::flock, fs::paths, time::now

bi-hash

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tempfile system?

Enables tempfile =3.15.0

same-file system?
js-sys web?
wasm-bindgen web?