Skip to content

Commit bfb5eef

Browse files
authored
Merge pull request #121 from CryZe/fixed-wasm-support
Fix WebAssembly support
2 parents 3224daa + a8546df commit bfb5eef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ouroboros = { version = "0.15.5", default-features = false }
1616
rustybuzz = { version = "0.7.0", default-features = false, features = ["libm"] }
1717
swash = { version = "0.1.6", optional = true }
1818
syntect = { version = "5.0.0", optional = true }
19-
sys-locale = { version = "0.2.3", optional = true }
19+
sys-locale = { version = "0.3.0", optional = true }
2020
unicode-linebreak = "0.1.4"
2121
unicode-script = "0.5.5"
2222
unicode-segmentation = "1.10.0"
@@ -41,6 +41,7 @@ std = [
4141
"unicode-bidi/std",
4242
]
4343
vi = ["syntect"]
44+
wasm-web = ["sys-locale?/js"]
4445

4546
[workspace]
4647
members = [

0 commit comments

Comments
 (0)