-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
40 lines (34 loc) · 916 Bytes
/
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
[package]
name = "wasm-react"
version = "0.6.0"
edition = "2021"
authors = ["Yichuan Shen"]
description = "WASM bindings for React."
repository = "https://github.com/yishn/wasm-react"
license = "MIT OR Apache-2.0"
keywords = ["react", "ui", "wasm", "js", "web"]
categories = ["gui", "wasm", "web-programming"]
[lib]
crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
lto = true
opt-level = 's'
[dependencies]
wasm-bindgen = "0.2.87"
js-sys = "0.3.64"
paste = "1.0.14"
[dependencies.web-sys]
version = "0.3.64"
features = [
"Event", "MouseEvent", "FocusEvent", "KeyboardEvent", "DragEvent",
"PointerEvent", "WheelEvent", "AnimationEvent", "TransitionEvent",
"Element"
]
[workspace]
members = [
"./examples/01-hello-world",
"./examples/02-todo",
"./examples/03-material-ui",
"./examples/04-context",
]