tinymist-world 0.15.0

Typst's World implementation for tinymist.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "tinymist-world"
version = "0.15.0"
authors = [
    "Myriad-Dreamin <camiyoru@gmail.com>",
    "Nathan Varner",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typst's World implementation for tinymist."
homepage = "https://github.com/Myriad-Dreamin/tinymist"
readme = "README.md"
keywords = [
    "language",
    "typst",
]
categories = ["compilers"]
license = "Apache-2.0"
repository = "https://github.com/Myriad-Dreamin/tinymist"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "browser",
    "system",
]

[features]
browser = [
    "web",
    "tinymist-vfs/browser",
    "tinymist-package/browser",
]
default = []
fonts = ["typst-assets/fonts"]
http-registry = ["reqwest"]
mock = [
    "tinymist-vfs/mock",
    "typst-assets/fonts",
]
system = [
    "dirs",
    "fontdb",
    "chrono",
    "http-registry",
    "tinymist-std/system",
    "tinymist-vfs/system",
    "tinymist-package/system",
]
web = [
    "chrono",
    "chrono/wasmbind",
    "wasm-bindgen",
    "web-sys",
    "js-sys",
    "serde-wasm-bindgen",
    "tinymist-std/web",
    "tinymist-vfs/web",
    "tinymist-package/web",
]

[lib]
name = "tinymist_world"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
optional = true
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "unicode",
]

[dependencies.codespan-reporting]
version = "0.11"

[dependencies.comemo]
version = "0.5.1"

[dependencies.dirs]
version = "6"
optional = true

[dependencies.ecow]
version = "0.2.6"

[dependencies.flate2]
version = "1"

[dependencies.fontdb]
version = "0.23"
features = [
    "fs",
    "memmap",
]
optional = true
default-features = false

[dependencies.hex]
version = "0.4.3"

[dependencies.js-sys]
version = "^0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.lsp-types]
version = "=0.95.0"
features = ["proposed"]

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.rayon]
version = "1.7.0"

[dependencies.reqwest]
version = "^0.12"
features = [
    "rustls-tls",
    "blocking",
    "multipart",
]
optional = true
default-features = false

[dependencies.rpds]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "^0.6"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3.6"
features = ["base64"]

[dependencies.sha2]
version = "0.10.9"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.tar]
version = "0.4"

[dependencies.tinymist-package]
version = "0.15.0"

[dependencies.tinymist-std]
version = "0.15.0"
default-features = false

[dependencies.tinymist-vfs]
version = "0.15.0"
default-features = false

[dependencies.ttf-parser]
version = "0.25.0"

[dependencies.typst]
version = "0.15.0"

[dependencies.typst-assets]
version = "0.15.0"

[dependencies.typst-bundle]
version = "0.15.0"

[dependencies.typst-shim]
version = "0.15.0"
features = ["nightly"]

[dependencies.wasm-bindgen]
version = "^0.2"
optional = true

[dependencies.web-sys]
version = "^0.3"
features = ["console"]
optional = true

[dev-dependencies.tinymist-vfs]
version = "0.15.0"
features = ["mock"]
default-features = false

[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"