-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (43 loc) · 892 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
41
42
43
44
45
46
47
48
49
50
[package]
name = "react-sys"
version = "1.0.0-alpha.7" # replace version
edition = "2018"
description = "React bindings for rust"
license = "MIT"
authors = [
"Equal Ma <equalma@outlook.com>",
]
homepage = "https://github.com/frender-rs/react-sys"
repository = "https://github.com/frender-rs/react-sys"
categories = [
"wasm",
"api-bindings",
"gui",
]
keywords = [
"react",
"wasm",
"web",
"ui",
"js",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[features]
import-react = []
[dependencies]
wasm-bindgen = "~0.2.63"
js-sys = "0.3"
[dependencies.web-sys]
version = "0.3"
features = [
"Window",
"Document",
"Element",
]
[dev-dependencies]
wasm-bindgen-test = "0.3.13"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"