[workspace.package] description = "An integrated language service for Typst." authors = ["Myriad-Dreamin ", "Nathan Varner"] version = "0.10.1" edition = "2021" readme = "README.md" license = "Apache-2.0" homepage = "https://github.com/Myriad-Dreamin/tinymist" repository = "https://github.com/Myriad-Dreamin/tinymist" rust-version = "1.74" [workspace] resolver = "2" members = ["crates/*", "external/typst-preview"] [workspace.dependencies] once_cell = "1" anyhow = "1" fxhash = "0.2.1" ecow = "0.2.0" comemo = "0.4" ena = "0.14.2" futures = "0.3" regex = "1.8.1" itertools = "0.12.0" lazy_static = "1.4.0" env_logger = "0.11.1" log = "0.4.17" strum = { version = "0.25.0", features = ["derive"] } async-trait = "0.1.73" parking_lot = "0.12.1" thiserror = "1.0.44" typst = "0.10.0" typst-ide = "0.10.0" typst-pdf = "0.10.0" typst-assets = { git = "https://github.com/typst/typst-assets", rev = "4d1211a" } typst-ts-core = { version = "0.4.2-rc7" } typst-ts-compiler = { version = "0.4.2-rc7" } typst-preview = { path = "external/typst-preview" } lsp-server = "0.7.3" lsp-types = { version = "=0.95.0", features = ["proposed"] } crossbeam-channel = "0.5.8" clap = { version = "4.4", features = ["derive", "env", "unicode", "wrap_help"] } clap_builder = { version = "4", features = ["string"] } clap_complete = "4.4" clap_complete_fig = "4.4" clap_mangen = { version = "0.2.15" } vergen = { version = "8.2.5", features = [ "build", "cargo", "git", "gitcl", "rustc", ] } tokio = { version = "1.34.0", features = [ "macros", "rt-multi-thread", "io-std", ] } tokio-util = "0.7.10" serde = { version = "1", features = ["derive"] } serde_json = "1" divan = "0.1.7" insta = { vesrion = "1.34", features = ["glob"] } [profile.dev.package.insta] opt-level = 3 [profile.dev.package.similar] opt-level = 3 [profile.release] lto = true # Enable link-time optimization debug = true opt-level = 3 # Optimize for speed codegen-units = 1 # Reduce number of codegen units to increase optimizations panic = 'abort' # Abort on panic [workspace.lints.rust] missing_docs = "warn" [workspace.lints.clippy] uninlined_format_args = "warn" # missing_errors_doc = "warn" # missing_panics_doc = "warn" missing_safety_doc = "warn" undocumented_unsafe_blocks = "warn" [patch.crates-io] typst = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "tinymist-v0.11.0" } typst-ide = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "tinymist-v0.11.0" } typst-pdf = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "tinymist-v0.11.0" } typst-syntax = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "tinymist-v0.11.0" } # typst = { path = "../typst/crates/typst" } # typst-ide = { path = "../typst/crates/typst-ide" } # typst-pdf = { path = "../typst/crates/typst-pdf" } # typst-syntax = { path = "../typst/crates/typst-syntax" } typst-ts-svg-exporter = { git = "https://github.com/Myriad-Dreamin/typst.ts", rev = "58c2c6b07831cffb8915776c45058754c505033b", package = "typst-ts-svg-exporter" } typst-ts-core = { git = "https://github.com/Myriad-Dreamin/typst.ts", rev = "58c2c6b07831cffb8915776c45058754c505033b", package = "typst-ts-core" } typst-ts-compiler = { git = "https://github.com/Myriad-Dreamin/typst.ts", rev = "58c2c6b07831cffb8915776c45058754c505033b", package = "typst-ts-compiler" }