-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathCargo.toml
69 lines (63 loc) · 2.79 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "wasmer-winter"
description = "The JavaScript runtime that brings JavaScript to Wasmer Edge."
version = "0.1.8"
repository = "https://github.com/wasmerio/wasmer-winter/"
license = "MIT"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
lazy_static = "1.4.0"
anyhow = "1.0.75"
hyper = { version = "=0.14.27", features = [
"server",
"http1",
"tcp",
], git = "https://github.com/wasix-org/hyper", branch = "v0.14.27" }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "fmt"] }
serde_derive = "1.0.164"
serde = "1.0.164"
serde_json = "1.0.97"
bytes = { version = "1.5.0", features = ["serde"] }
once_cell = "1.18.0"
rustls = { git = "https://github.com/wasix-org/rustls.git", branch = "v0.21.5", version = "=0.21.5" }
hyper-rustls = { version = "=0.24.1", git = "https://github.com/wasix-org/hyper-rustls.git", branch = "wasix" }
h2 = { version = "=0.3.20", git = "https://github.com/wasix-org/h2.git" }
futures = "0.3.28"
http = "0.2.9"
form_urlencoded = "1.2.0"
ion = { package = "ion", features = [
"macros",
], git = "https://github.com/wasmerio/spiderfire.git" }
ion-proc = { package = "ion-proc", git = "https://github.com/wasmerio/spiderfire.git" }
runtime = { package = "runtime", git = "https://github.com/wasmerio/spiderfire.git" }
modules = { package = "modules", git = "https://github.com/wasmerio/spiderfire.git" }
mozjs = { version = "0.14.1", git = "https://github.com/wasmerio/mozjs.git", branch = "wasi", features = [
"streams",
] }
mozjs_sys = { version = "0.68.2", git = "https://github.com/wasmerio/mozjs.git", branch = "wasi" }
# for mozjs
libc = { version = "=0.2.139", git = "https://github.com/wasix-org/libc.git" }
# libc = "=0.2.139"
# NOTE: We need to pin and replace some dependencies to achieve wasix compatibility.
# tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros"] }
tokio = { version = "=1.24.2", features = ["full"] }
parking_lot = { version = "=0.12.1", features = ["nightly"] }
url = "2.4.1"
base64 = "0.21.4"
async-trait = "0.1.74"
uuid = { version = "1.5.0", features = ["v4"] }
rand = "0.8.5"
sha1 = "0.10.6"
sha2 = "0.10.8"
md5 = "0.7.0"
[patch.crates-io]
tokio = { git = "https://github.com/wasix-org/tokio.git", branch = "epoll" }
socket2 = { git = "https://github.com/wasix-org/socket2.git", branch = "v0.4.9" }
libc = { git = "https://github.com/wasix-org/libc.git" }
h2 = { git = "https://github.com/wasix-org/h2" }
hyper = { git = "https://github.com/wasix-org/hyper", branch = "v0.14.27" }
ring = { git = "https://github.com/wasix-org/ring", branch = "wasix" }
rustls = { git = "https://github.com/wasix-org/rustls.git", branch = "v0.21.5" }
hyper-rustls = { git = "https://github.com/wasix-org/hyper-rustls.git", branch = "wasix" }