mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-04 18:28:02 +00:00
fix: cannot build clap/wrap_help in web (#1253)
This commit is contained in:
parent
5069a89d5d
commit
7b8739487e
4 changed files with 5 additions and 4 deletions
|
@ -157,7 +157,7 @@ lsp-types = { version = "=0.95.0", features = ["proposed"] }
|
|||
sync-lsp = { path = "./crates/sync-lsp", features = ["clap"] }
|
||||
|
||||
# CLI
|
||||
clap = { version = "4.5", features = ["derive", "env", "unicode", "wrap_help"] }
|
||||
clap = { version = "4.5", features = ["derive", "env", "unicode"] }
|
||||
clap_builder = { version = "4.5", features = ["string"] }
|
||||
clap_complete = "4.5"
|
||||
clap_complete_fig = "4.5"
|
||||
|
|
|
@ -39,7 +39,7 @@ insta.workspace = true
|
|||
|
||||
[features]
|
||||
default = ["cli", "embed-fonts", "no-content-hint"]
|
||||
cli = ["clap"]
|
||||
cli = ["clap", "clap/wrap_help"]
|
||||
|
||||
# Embeds Typst's default fonts for
|
||||
# - text (Linux Libertine),
|
||||
|
|
|
@ -85,7 +85,7 @@ walkdir.workspace = true
|
|||
[features]
|
||||
default = ["cli", "embed-fonts", "no-content-hint", "preview"]
|
||||
|
||||
cli = ["sync-lsp/clap"]
|
||||
cli = ["sync-lsp/clap", "clap/wrap_help"]
|
||||
|
||||
dhat-heap = ["dhat"]
|
||||
|
||||
|
|
|
@ -38,7 +38,8 @@ regex.workspace = true
|
|||
|
||||
[features]
|
||||
default = ["cli", "embed-fonts", "no-content-hint"]
|
||||
cli = ["clap"]
|
||||
clap = ["dep:clap"]
|
||||
cli = ["clap", "clap/wrap_help"]
|
||||
|
||||
# Embeds Typst's default fonts for
|
||||
# - text (Linux Libertine),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue