mirror of
https://github.com/mii443/obsidian-typst.git
synced 2025-08-22 16:15:34 +00:00
38 lines
846 B
TOML
38 lines
846 B
TOML
[package]
|
|
name = "obsidian-typst"
|
|
version = "0.5.0"
|
|
authors = ["fenjalien"]
|
|
edition = "2021"
|
|
description = "Renders `typst` code blocks to images with Typst."
|
|
readme = "README.md"
|
|
rust-version = "1.70"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# Everything to do with Typst
|
|
typst = { git = "https://github.com/typst/typst.git", tag = "v0.6.0" }
|
|
typst-library = { git = "https://github.com/typst/typst.git", tag = "v0.6.0" }
|
|
comemo = "0.3"
|
|
siphasher = "0.3.10"
|
|
|
|
|
|
# Everything to do with wasm
|
|
wasm-bindgen = "^0.2"
|
|
js-sys = "^0.3"
|
|
wasm-bindgen-futures = "^0.4"
|
|
serde = { version = "^1.0", features = ["derive"] }
|
|
serde-wasm-bindgen = "^0.5"
|
|
web-sys = { version = "^0.3", features = [
|
|
"console",
|
|
"Window",
|
|
"FontData",
|
|
"Blob",
|
|
"ImageData",
|
|
] }
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
# Image handling
|
|
fast_image_resize = "2.7.3"
|