Skip to content

Commit

Permalink
Disable clap wrap_help feature on wasm32
Browse files Browse the repository at this point in the history
  • Loading branch information
tranzystorekk committed Nov 13, 2022
1 parent 275a313 commit 4471dd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ regex = "1.5.5"
once_cell = "1.13.0"
entities = "1.0.1"
unicode_categories = "0.1.1"
clap = { version = "4.0", optional = true, features = ["derive", "string", "wrap_help"] }
memchr = "2"
pest = "2"
pest_derive = "2"
Expand All @@ -48,6 +47,8 @@ xdg = { version = "^2.1", optional = true }

[target.'cfg(target_arch="wasm32")'.dependencies]
syntect = { version = "5.0", optional = true, default-features = false, features = ["default-fancy"] }
clap = { version = "4.0", optional = true, features = ["derive", "string"] }

[target.'cfg(not(target_arch="wasm32"))'.dependencies]
syntect = { version = "5.0", optional = true, default-features = false, features = ["default-themes", "default-syntaxes", "html", "regex-onig"] }
clap = { version = "4.0", optional = true, features = ["derive", "string", "wrap_help"] }

0 comments on commit 4471dd4

Please sign in to comment.