[package]
edition = "2021"
rust-version = "1.88"
name = "tinymist-core"
version = "0.13.45"
authors = [
"Myriad-Dreamin <camiyoru@gmail.com>",
"Nathan Varner",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tinymist core library."
homepage = "https://github.com/Myriad-Dreamin/tinymist"
readme = false
keywords = [
"api",
"language",
"typst",
]
categories = [
"compilers",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/Myriad-Dreamin/tinymist"
[features]
default = [
"web",
"no-content-hint",
]
no-content-hint = ["reflexo-typst/no-content-hint"]
web = [
"wasm-bindgen",
"js-sys",
"console_error_panic_hook",
"no-content-hint",
"tinymist-world/web",
"reflexo-typst/web",
]
[lib]
name = "tinymist_core"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.console_error_panic_hook]
version = "0.1.2"
optional = true
[dependencies.js-sys]
version = "0.3.77"
optional = true
[dependencies.reflexo-typst]
version = "=0.6.1-rc3"
default-features = false
[dependencies.tinymist-world]
version = "0.13.17"
default-features = false
[dependencies.wasm-bindgen]
version = "0.2.100"
optional = true
[build-dependencies.anyhow]
version = "1"
[build-dependencies.cargo_metadata]
version = "0.18.0"
[build-dependencies.vergen]
version = "8.3.1"
features = [
"build",
"cargo",
"git",
"gitcl",
"rustc",
]
[lints.clippy]
missing_safety_doc = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"
[lints.rust]
missing_docs = "warn"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
"cfg(wasm_bindgen_unstable_test_coverage)",
"cfg(noop)",
"cfg(used_linker)",
]
[lints.rustdoc]
broken_intra_doc_links = "warn"