tinymist-world

Crates.iotinymist-world
lib.rstinymist-world
version0.13.24
created_at2025-02-16 06:52:24.94823+00
updated_at2025-08-26 08:17:40.223558+00
descriptionTypst's World implementation for tinymist.
homepagehttps://github.com/Myriad-Dreamin/tinymist
repositoryhttps://github.com/Myriad-Dreamin/tinymist
max_upload_size
id1557412
size274,103
(Myriad-Dreamin)

documentation

README

tinymist-world

Typst's World implementation for tinymist.

Example: Resolves a system universe from system arguments

let args = CompileOnceArgs::parse();
let universe = args
    .resolve_system()
    .expect("failed to resolve system universe");

Example: Runs a typst compilation

let world = verse.snapshot();
// in current thread
let doc = typst::compile(&world)?;
// the snapshot is Send + Sync
std::thread::spawn(move || {
    let doc = typst::compile(&world)?;
});
Commit count: 1413

cargo fmt