-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
50 lines (46 loc) · 1.14 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
[package]
name = "Rust-wasm"
version = "0.1.0"
description = "A sample project with wasm-pack"
license = "MIT/Apache-2.0"
edition = '2018'
repository = "https://github.com/akeboshi1/PhaserRust"
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Oz", "--enable-mutable-globals"]
[lib]
name = "rust_wasm"
crate-type = ["cdylib"]
path = "./src/lib.rs"
[dependencies]
wasm-bindgen = { version = "0.2.64", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.7"
js-sys = "0.3.36"
rand = "0.7.0"
prost = "0.11.0"
protobuf = { path = "./crates/protobuf" }
protobuf-support = { path = "./crates/protobuf-support" }
protobuf-parse = { path = "./crates/protobuf-parse" }
[dependencies.web-sys]
version = "^0.3.59"
features = [
"BinaryType",
"Blob",
"ErrorEvent",
"FileReader",
"MessageEvent",
"ProgressEvent",
"DedicatedWorkerGlobalScope",
"WebSocket",
"console",
"XmlHttpRequest",
"XmlHttpRequestUpload",
"XmlHttpRequestResponseType",
"XmlHttpRequestEventTarget",
"EventListener",
"AudioContext",
'AudioDestinationNode',
'AudioNode',
'AudioParam',
"FormData",
"BlobPropertyBag"
]