build: rearrange and test dependency meta (#1760)
Some checks failed
tinymist::ci / prepare-build (push) Has been cancelled
tinymist::ci / Duplicate Actions Detection (push) Has been cancelled
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Has been cancelled
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Has been cancelled
tinymist::gh_pages / build-gh-pages (push) Has been cancelled
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Has been cancelled
tinymist::ci / build-binary (push) Has been cancelled
tinymist::ci / build-vsc-assets (push) Has been cancelled
tinymist::ci / build-vscode (push) Has been cancelled
tinymist::ci / build-vscode-others (push) Has been cancelled
tinymist::ci / publish-vscode (push) Has been cancelled

* build: rearrange dependency meta

* feat: add feature testing about typlite

* dev: reorder
This commit is contained in:
Myriad-Dreamin 2025-05-14 14:45:43 +08:00 committed by GitHub
parent 28d416b852
commit 953f997281
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 14 deletions

View file

@ -96,15 +96,23 @@ indexmap = "2.7.0"
rpds = "1"
# Data/Text Format and Processing
biblatex = "0.10"
cmark-writer = { version = "0.6.3", features = ["gfm"] }
docx-rs = { git = "https://github.com/Myriad-Dreamin/docx-rs", default-features = false, rev = "db49a729f68dbdb9e8e91857fbb1c3d414209871" }
hayagriva = "0.8"
hex = "0.4.3"
flate2 = "1"
tar = "0.4"
biblatex = "0.10"
hayagriva = "0.8"
# typst can only support these formats.
image = { version = "0.25.6", default-features = false, features = [
"png",
"jpeg",
"gif",
] }
pathdiff = "0.2"
percent-encoding = "2"
rust_iso639 = "0.0.3"
rust_iso3166 = "0.1.4"
resvg = { version = "0.43.0" }
rkyv = "0.7.42"
semver = "1"
serde = { version = "1", features = ["derive"] }
@ -113,6 +121,7 @@ serde_repr = "0.1"
serde_with = { version = "3.6", features = ["base64"] }
serde_yaml = "0.9"
serde-wasm-bindgen = "^0.6"
tar = "0.4"
toml = { version = "0.8", default-features = false, features = [
"parse",
"display",

View file

@ -23,8 +23,10 @@ doc = false
[dependencies]
base64.workspace = true
clap = { workspace = true, optional = true }
cmark-writer.workspace = true
comemo.workspace = true
ecow.workspace = true
regex.workspace = true
tinymist-std.workspace = true
tinymist-derive.workspace = true
tinymist-project = { workspace = true, features = ["lsp"] }
@ -32,16 +34,11 @@ typst.workspace = true
typst-svg.workspace = true
typst-syntax.workspace = true
typst-html.workspace = true
regex.workspace = true
cmark-writer = { version = "0.6.3", features = ["gfm"] }
docx-rs = { git = "https://github.com/Myriad-Dreamin/docx-rs", default-features = false, rev = "db49a729f68dbdb9e8e91857fbb1c3d414209871", optional = true }
# typst can only support these formats.
image = { version = "0.25.6", default-features = false, features = [
"png",
"jpeg",
"gif",
], optional = true }
resvg = { version = "0.43.0", optional = true }
# Feature: docx
docx-rs = { workspace = true, optional = true }
image = { workspace = true, optional = true }
resvg = { workspace = true, optional = true }
[dev-dependencies]
insta.workspace = true

View file

@ -1,4 +1,7 @@
cargo clippy -p sync-ls --no-default-features
cargo clippy -p sync-ls --no-default-features --features=lsp
cargo clippy -p sync-ls --no-default-features --features=dap
cargo clippy -p sync-ls --no-default-features --features=lsp,dap
cargo clippy -p sync-ls --no-default-features --features=lsp,dap
cargo clippy -p typlite --no-default-features --features=cli,no-content-hint
cargo clippy -p typlite --no-default-features --features=cli,docx,no-content-hint