fix: Cargo.toml default-features warning for typlite workspace dependency (#1895)
Some checks failed
tinymist::gh_pages / build-gh-pages (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::ci / prepare-build (push) Has been cancelled
tinymist::ci / build-vscode-others (push) Has been cancelled
tinymist::ci / publish-vscode (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-2022) (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

* Initial plan

* Fix Cargo.toml default-features warning for typlite workspace dependency

Co-authored-by: Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com>

* feat: better feature assignment

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com>
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
This commit is contained in:
Copilot 2025-07-09 21:57:59 +08:00 committed by GitHub
parent 4c676c1a8d
commit b4a53274c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -208,7 +208,7 @@ tinymist-lint = { path = "./crates/tinymist-lint/", version = "0.13.14" }
tinymist-query = { path = "./crates/tinymist-query/", version = "0.13.14" }
tinymist-render = { path = "./crates/tinymist-render/", version = "0.13.14" }
tinymist-preview = { path = "./crates/typst-preview", version = "0.13.14" }
typlite = { path = "./crates/typlite", version = "0.13.14" }
typlite = { path = "./crates/typlite", version = "0.13.14", default-features = false }
[profile.dev.package.insta]
opt-level = 3

View file

@ -42,7 +42,9 @@ siphasher.workspace = true
strum.workspace = true
toml.workspace = true
ttf-parser.workspace = true
typlite = { workspace = true, default-features = false }
typlite = { workspace = true, default-features = false, features = [
"no-content-hint",
] }
tinymist-world = { workspace = true }
tinymist-project = { workspace = true, features = ["lsp"] }
tinymist-analysis.workspace = true