Enable streams feature in mozjs (#30503)

* Update mozjs

* Enable streams feature

* Switch to servo/mozjs
This commit is contained in:
Samson 2023-10-06 02:51:23 +02:00 committed by GitHub
parent 28315ba48a
commit 92defbb4ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View file

@ -3686,7 +3686,7 @@ checksum = "903970ae2f248d7275214cf8f387f8ba0c4ea7e3d87a320e85493db60ce28616"
[[package]] [[package]]
name = "mozjs" name = "mozjs"
version = "0.14.1" version = "0.14.1"
source = "git+https://github.com/servo/mozjs#72bd691611dc857dba93fa0df41c4f26088411e7" source = "git+https://github.com/servo/mozjs#ec63ca39efb346c414e0f55ef26e63c0b17ee69a"
dependencies = [ dependencies = [
"bindgen 0.68.1", "bindgen 0.68.1",
"cc", "cc",
@ -3700,7 +3700,7 @@ dependencies = [
[[package]] [[package]]
name = "mozjs_sys" name = "mozjs_sys"
version = "0.68.2" version = "0.68.2"
source = "git+https://github.com/servo/mozjs#72bd691611dc857dba93fa0df41c4f26088411e7" source = "git+https://github.com/servo/mozjs#ec63ca39efb346c414e0f55ef26e63c0b17ee69a"
dependencies = [ dependencies = [
"bindgen 0.68.1", "bindgen 0.68.1",
"cc", "cc",

View file

@ -64,7 +64,7 @@ image = { workspace = true }
indexmap = { workspace = true } indexmap = { workspace = true }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
js = { package = "mozjs", git = "https://github.com/servo/mozjs" } js = { package = "mozjs", git = "https://github.com/servo/mozjs", features = ["streams"] }
jstraceable_derive = { path = "../jstraceable_derive" } jstraceable_derive = { path = "../jstraceable_derive" }
keyboard-types = { workspace = true } keyboard-types = { workspace = true }
lazy_static = { workspace = true } lazy_static = { workspace = true }