Merge pull request #121 from CryZe/fixed-wasm-support

Fix WebAssembly support
This commit is contained in:
Jeremy Soller 2023-04-04 09:50:46 -06:00 committed by GitHub
commit bfb5eefbfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ ouroboros = { version = "0.15.5", default-features = false }
rustybuzz = { version = "0.7.0", default-features = false, features = ["libm"] } rustybuzz = { version = "0.7.0", default-features = false, features = ["libm"] }
swash = { version = "0.1.6", optional = true } swash = { version = "0.1.6", optional = true }
syntect = { version = "5.0.0", optional = true } syntect = { version = "5.0.0", optional = true }
sys-locale = { version = "0.2.3", optional = true } sys-locale = { version = "0.3.0", optional = true }
unicode-linebreak = "0.1.4" unicode-linebreak = "0.1.4"
unicode-script = "0.5.5" unicode-script = "0.5.5"
unicode-segmentation = "1.10.0" unicode-segmentation = "1.10.0"
@ -41,6 +41,7 @@ std = [
"unicode-bidi/std", "unicode-bidi/std",
] ]
vi = ["syntect"] vi = ["syntect"]
wasm-web = ["sys-locale?/js"]
[workspace] [workspace]
members = [ members = [