Skip to content

Commit cacb575

Browse files
authored
Merge pull request #585 from lockbook/main
Use syntect's default-fancy feature for ios
2 parents 59ea15f + 4c93b00 commit cacb575

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,23 @@ bon = ["dep:bon"]
6060
[target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies]
6161
xdg = { version = "^2.5", optional = true }
6262

63-
[target.'cfg(target_arch="wasm32")'.dependencies]
63+
[target.'cfg(any(target_arch = "wasm32", target_os = "ios"))'.dependencies]
6464
syntect = { version = "5.0", optional = true, default-features = false, features = [
6565
"default-fancy",
6666
] }
67-
clap = { version = "4.0.32", optional = true, features = ["derive", "string"] }
6867

69-
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
68+
[target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dependencies]
7069
syntect = { version = "5.0", optional = true, default-features = false, features = [
7170
"default-themes",
7271
"default-syntaxes",
7372
"html",
7473
"regex-onig",
7574
] }
75+
76+
[target.'cfg(target_arch="wasm32")'.dependencies]
77+
clap = { version = "4.0.32", optional = true, features = ["derive", "string"] }
78+
79+
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
7680
clap = { version = "4.0", optional = true, features = [
7781
"derive",
7882
"string",

0 commit comments

Comments
 (0)