8 releases
0.13.12-rc1 | Mar 31, 2025 |
---|---|
0.13.2 | Mar 1, 2025 |
0.13.2-rc2 | Feb 27, 2025 |
0.12.21 | Feb 21, 2025 |
#1185 in Programming languages
1,111 downloads per month
Used in 8 crates
(3 directly)
330KB
7K
SLoC
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)?;
});
Dependencies
~76MB
~1M SLoC