mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
84 lines
2 KiB
TOML
84 lines
2 KiB
TOML
[package]
|
|
name = "tinymist-world"
|
|
description = "Typst's World implementation for tinymist."
|
|
categories = ["compilers"]
|
|
keywords = ["language", "typst"]
|
|
# group: world
|
|
version = "0.13.16"
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
|
|
anyhow.workspace = true
|
|
chrono = { workspace = true, default-features = false, optional = true, features = [
|
|
"std",
|
|
"clock",
|
|
] }
|
|
clap.workspace = true
|
|
codespan-reporting.workspace = true
|
|
comemo.workspace = true
|
|
dirs = { workspace = true, optional = true }
|
|
ecow.workspace = true
|
|
flate2.workspace = true
|
|
fontdb = { workspace = true, optional = true }
|
|
hex.workspace = true
|
|
js-sys = { workspace = true, optional = true }
|
|
log.workspace = true
|
|
lsp-types.workspace = true
|
|
parking_lot.workspace = true
|
|
rayon.workspace = true
|
|
reqwest = { workspace = true, optional = true }
|
|
rpds.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_with.workspace = true
|
|
serde-wasm-bindgen = { workspace = true, optional = true }
|
|
sha2.workspace = true
|
|
strum.workspace = true
|
|
tar.workspace = true
|
|
tinymist-package.workspace = true
|
|
tinymist-std.workspace = true
|
|
tinymist-vfs.workspace = true
|
|
typst.workspace = true
|
|
typst-assets.workspace = true
|
|
ttf-parser.workspace = true
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
web-sys = { workspace = true, optional = true, features = ["console"] }
|
|
|
|
[features]
|
|
|
|
default = []
|
|
fonts = ["typst-assets/fonts"]
|
|
http-registry = ["reqwest"]
|
|
web = [
|
|
"chrono",
|
|
"chrono/wasmbind",
|
|
"wasm-bindgen",
|
|
"web-sys",
|
|
"js-sys",
|
|
"serde-wasm-bindgen",
|
|
"tinymist-std/web",
|
|
"tinymist-vfs/web",
|
|
"tinymist-package/web",
|
|
]
|
|
browser = ["web", "tinymist-vfs/browser", "tinymist-package/browser"]
|
|
system = [
|
|
"dirs",
|
|
"fontdb",
|
|
"chrono",
|
|
"http-registry",
|
|
"tinymist-std/system",
|
|
"tinymist-vfs/system",
|
|
"tinymist-package/system",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["browser", "system"]
|
|
|
|
[lints]
|
|
workspace = true
|