[package]
edition = "2024"
name = "tinymist-std"
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 = "Additional functions wrapping Rust's standard library."
homepage = "https://github.com/Myriad-Dreamin/tinymist"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Myriad-Dreamin/tinymist"
resolver = "2"
[features]
__web = [
"wasm-bindgen",
"js-sys",
"web-time",
]
battery = ["dep:battery"]
bi-hash = []
default = ["full"]
full = [
"web",
"rkyv",
"typst",
]
rkyv = [
"rkyv/alloc",
"rkyv/archive_le",
]
rkyv-validation = ["rkyv/validation"]
system = [
"tempfile",
"same-file",
]
typst = [
"dep:typst",
"dep:typst-shim",
"dep:typst-html",
"dep:typst-layout",
]
web = ["__web"]
[lib]
name = "tinymist_std"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.battery]
version = "0.7.8"
optional = true
[dependencies.bitvec]
version = "1"
[dependencies.comemo]
version = "0.5.1"
[dependencies.dashmap]
version = "=5.5.3"
features = ["raw-api"]
[dependencies.ecow]
version = "0.2.6"
features = ["serde"]
[dependencies.fxhash]
version = "0.2.1"
[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.path-clean]
version = "1.0.1"
[dependencies.pathdiff]
version = "0.2"
[dependencies.rkyv]
version = "0.7.42"
optional = true
[dependencies.rustc-hash]
version = "2.1"
features = ["std"]
[dependencies.same-file]
version = "1.0.6"
optional = true
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
[dependencies.serde_repr]
version = "0.1"
[dependencies.serde_with]
version = "3.6"
features = ["base64"]
[dependencies.siphasher]
version = "1"
[dependencies.tempfile]
version = "3.19.1"
optional = true
[dependencies.time]
version = "0.3"
features = ["formatting"]
[dependencies.typst]
version = "0.15.0"
optional = true
[dependencies.typst-html]
version = "0.15.0"
optional = true
[dependencies.typst-layout]
version = "0.15.0"
optional = true
[dependencies.typst-shim]
version = "0.15.0"
features = ["nightly"]
optional = true
[dependencies.wasm-bindgen]
version = "^0.2"
optional = true
[dependencies.web-time]
version = "1.1.0"
optional = true
[dev-dependencies.hex]
version = "0.4.3"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.0"
features = ["mac_os_10_7_support"]
[target."cfg(unix)".dependencies.libc]
version = "0.2.155"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Console",
"Win32_System_JobObjects",
"Win32_System_Threading",
]
[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"