-
Notifications
You must be signed in to change notification settings - Fork 83
/
Cargo.toml
117 lines (109 loc) · 3.42 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[package]
name = "wasmer-js"
version = "0.0.0"
authors = ["Syrus Akbary <[email protected]>"]
edition = "2021"
publish = false
[lib]
crate-type = ["cdylib"]
[dependencies]
lazy_static = "1.5"
anyhow = "1"
async-trait = "0.1"
bincode = "1"
bytes = "1"
console_error_panic_hook = { version = "0.1" }
derivative = { version = "2" }
futures = "0.3"
instant = { version = "0.1", features = ["wasm-bindgen"] }
js-sys = "0.3"
once_cell = "1"
reqwest = { version = "0.12.7", features = ["stream"] }
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.6"
sha2 = "0.10.8"
tempfile = "3.10.1"
tokio = { version = "1", features = ["sync"], default_features = false }
toml = "0.8.14"
tracing = { version = "0.1", features = ["log", "release_max_level_debug"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
url = "2.4.0"
virtual-fs = { version = "0.17.0", default-features = false }
virtual-net = { version = "0.9.0", default-features = false, features = ["remote"] }
wasm-bindgen = { version = "=0.2.92" }
wasm-bindgen-derive = "0.2.1"
wasm-bindgen-futures = "0.4.40"
wasm-bindgen-test = "0.3.40"
wasmer = { version = "4.4.0", default-features = false, features = ["js", "js-default", "wasm-types-polyfill", "enable-serde"] }
wasmer-api = { version = "0.1.0"}
wasmer-config = "0.9.0"
wasmer-types = "4.4.0"
wasmer-wasix = { version = "0.28.0", default-features = false, features = ["js", "js-default"] }
webc = "6.1.0"
[dependencies.web-sys]
version = "0.3"
features = [
"BinaryType",
"Blob",
"BlobPropertyBag",
"console",
"DedicatedWorkerGlobalScope",
"DomException",
"ErrorEvent",
"File",
"FileReader",
"FileSystemDirectoryHandle",
"FileSystemFileHandle",
"FileSystemGetDirectoryOptions",
"FileSystemHandle",
"Headers",
"MessageEvent",
"Navigator",
"ProgressEvent",
"QueuingStrategy",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"Request",
"RequestInit",
"RequestMode",
"Response",
"StorageManager",
"Url",
"WebSocket",
"Window",
"Worker",
"WorkerGlobalScope",
"WorkerNavigator",
"WorkerOptions",
"WorkerType",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
]
[dev-dependencies]
wasm-bindgen-test = "0.3"
[profile.release]
lto = true
opt-level = 'z'
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
debug-js-glue = false
demangle-name-section = false
dwarf-debug-info = false
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["--enable-threads", "--enable-bulk-memory", "-Oz"]
[patch.crates-io]
#webc = {git = "https://github.com/wasmerio/pirita", branch = "in-memory-manifest"}
#virtual-net = { git = "https://github.com/wasmerio/wasmer", branch = "master" }
#virtual-fs = { git = "https://github.com/wasmerio/wasmer", branch = "master" }
#wasmer-wasix = { git = "https://github.com/wasmerio/wasmer", branch = "master" }
#wasmer = { git = "https://github.com/wasmerio/wasmer", branch = "master" }
webc = { path = "../pirita/crates/webc" }
virtual-net = { path = "../wasmer/lib/virtual-net" }
virtual-fs = { path = "../wasmer/lib/virtual-fs" }
wasmer-wasix = { path = "../wasmer/lib/wasix" }
wasmer = { path = "../wasmer/lib/api" }
wasmer-api = { path = "../wasmer/lib/backend-api" }
wasmer-config = { path = "../wasmer/lib/config" }
wasmer-types = { path = "../wasmer/lib/types" }