-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
17 lines (14 loc) · 822 Bytes
/
Cargo.toml
File metadata and controls
17 lines (14 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[package]
name = "my_plugin"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
js-sys = "0.3.61"
wasm-bindgen = "0.2.70"
wasm-bindgen-futures = "0.4.34"
web-sys = { version = "0.3.61", features = ["Window", "Document", "NodeList", "Element", "ServiceWorkerGlobalScope", "Navigator", "ServiceWorkerContainer", "ServiceWorker", "Clients", "MediaDevices", "HtmlElement", "WebGlProgram", "WebGlRenderingContext", "WebGlShader", "HtmlCanvasElement", "WebGlBuffer", "CanvasRenderingContext2d", "ImageData", "HtmlImageElement", "MediaStreamConstraints", "MediaStream", "MediaStreamTrack", "ImageCapture", "Blob", "VideoTrack"] }
[package.metadata.wasm-pack.profile.release]
wasm-opt = false