mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
133 lines
3.9 KiB
TOML
133 lines
3.9 KiB
TOML
[workspace.package]
|
|
description = "An integrated language service for Typst."
|
|
authors = ["Myriad-Dreamin <camiyoru@gmail.com>", "Nathan Varner"]
|
|
version = "0.11.2"
|
|
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/*", "tests"]
|
|
|
|
[workspace.dependencies]
|
|
|
|
once_cell = "1"
|
|
anyhow = "1"
|
|
|
|
fxhash = "0.2.1"
|
|
ecow = "0.2.1"
|
|
comemo = "0.4"
|
|
ena = "0.14.2"
|
|
futures = "0.3"
|
|
regex = "1.10.3"
|
|
itertools = "0.12.1"
|
|
lazy_static = "1.4.0"
|
|
env_logger = "0.11.3"
|
|
log = "0.4.21"
|
|
strum = { version = "0.26.2", features = ["derive"] }
|
|
async-trait = "0.1.77"
|
|
parking_lot = "0.12.1"
|
|
walkdir = "2"
|
|
indexmap = "2.1.0"
|
|
paste = "1.0"
|
|
toml = { version = "0.8", default-features = false, features = [
|
|
"parse",
|
|
"display",
|
|
] }
|
|
codespan-reporting = "0.11"
|
|
|
|
typst = "0.11.0"
|
|
typst-timing = "0.11.0"
|
|
typst-pdf = "0.11.0"
|
|
typst-svg = "0.11.0"
|
|
typst-render = "0.11.0"
|
|
typst-assets = "0.11.0"
|
|
reflexo = { version = "0.5.0-rc2", default-features = false, features = [
|
|
"flat-vector",
|
|
] }
|
|
typst-ts-core = { version = "0.5.0-rc2", default-features = false }
|
|
typst-ts-compiler = { version = "0.5.0-rc2" }
|
|
typst-preview = { version = "0.11.3" }
|
|
typstyle = "0.11.8"
|
|
typstfmt_lib = { git = "https://github.com/astrale-sharp/typstfmt", tag = "0.2.7" }
|
|
|
|
lsp-server = "0.7.6"
|
|
lsp-types = { version = "=0.95.0", features = ["proposed"] }
|
|
crossbeam-channel = "0.5.12"
|
|
|
|
clap = { version = "4.5", features = ["derive", "env", "unicode", "wrap_help"] }
|
|
clap_builder = { version = "4", features = ["string"] }
|
|
clap_complete = "4.5"
|
|
clap_complete_fig = "4.5"
|
|
clap_mangen = { version = "0.2.15" }
|
|
vergen = { version = "8.2.5", features = [
|
|
"build",
|
|
"cargo",
|
|
"git",
|
|
"gitcl",
|
|
"rustc",
|
|
] }
|
|
tokio = { version = "1.36.0", features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
"io-std",
|
|
] }
|
|
tokio-util = "0.7.10"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
divan = "0.1.14"
|
|
insta = { version = "1.36", features = ["glob"] }
|
|
|
|
tinymist = { path = "./crates/tinymist/" }
|
|
tinymist-query = { path = "./crates/tinymist-query/" }
|
|
|
|
[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-timing = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "tinymist-v0.11.0" }
|
|
typst-svg = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "tinymist-v0.11.0" }
|
|
typst-render = { 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-timing = { path = "../typst/crates/typst-timing" }
|
|
# typst-svg = { path = "../typst/crates/typst-svg" }
|
|
# typst-pdf = { path = "../typst/crates/typst-pdf" }
|
|
# typst-render = { path = "../typst/crates/typst-render" }
|
|
# typst-syntax = { path = "../typst/crates/typst-syntax" }
|
|
|
|
# typst-ts-svg-exporter = { path = "../typst.ts/exporter/svg" }
|
|
# reflexo = { path = "../typst.ts/crates/reflexo/" }
|
|
# typst-ts-core = { path = "../typst.ts/core" }
|
|
# typst-ts-compiler = { path = "../typst.ts/compiler" }
|
|
# typstyle = { path = "../typstyle" }
|