tinymist/crates/tinymist-core/Cargo.toml
Myriad-Dreamin 7e925890fa
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
feat: build and bundle tinymist wasm into web extension (#1945)
2025-07-31 01:45:25 +08:00

45 lines
1,014 B
TOML

[package]
name = "tinymist-core"
description = "Tinymist core library."
categories = ["compilers", "command-line-utilities"]
keywords = ["api", "language", "typst"]
authors.workspace = true
version.workspace = true
license.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["web", "no-content-hint"]
web = [
"wasm-bindgen",
"js-sys",
"console_error_panic_hook",
"no-content-hint",
"tinymist-world/web",
"reflexo-typst/web",
]
no-content-hint = ["reflexo-typst/no-content-hint"]
[dependencies]
wasm-bindgen = { version = "0.2.100", optional = true }
js-sys = { version = "0.3.77", optional = true }
tinymist-world.workspace = true
reflexo-typst.workspace = true
console_error_panic_hook = { version = "0.1.2", optional = true }
[build-dependencies]
anyhow.workspace = true
vergen.workspace = true
cargo_metadata = "0.18.0"
[lints]
workspace = true