-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
97 lines (86 loc) · 1.76 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
[package]
name = "spair"
version = "0.0.9"
authors = ["aclueless <[email protected]>"]
edition = "2021"
description = "A framework for single-page application in Rust"
categories = ["wasm", "web-programming"]
keywords = ["SPA", "wasm", "framework"]
repository = "https://github.com/aclueless/spair"
license = "MPL-2.0"
readme = "README.md"
[lib]
doctest = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
keyed-list = ["uuid"]
svg = []
queue-render = []
nightly-text-render = []
[workspace]
members = [
"examples/*",
"crates/spairc",
"crates/examples/*",
]
[dev-dependencies]
wasm-bindgen-test = "0.3"
wasm-logger = "0.2"
[dependencies]
log = "0.4"
thiserror = "1.0"
js-sys = "0.3"
wasm-bindgen-futures = "0.4"
uuid = { version = "1", optional = true }
duplicate = "1.0.0"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.web-sys]
version = "0.3"
features = [
"Document",
"Element",
"Event",
"EventTarget",
"HtmlElement",
"HtmlInputElement",
"HtmlSelectElement",
"HtmlOptionElement",
"HtmlTextAreaElement",
"HtmlFormElement",
"Node",
"Text",
"Window",
"Comment",
"DomTokenList",
"Location",
"History",
"Storage",
# Events
"Event",
"MouseEvent",
"InputEvent",
"FocusEvent",
"KeyboardEvent",
"UiEvent",
"WheelEvent",
"EventTarget",
"PopStateEvent",
"HashChangeEvent",
"ClipboardEvent",
# Scroll into view
"ScrollBehavior",
"ScrollLogicalPosition",
"ScrollIntoViewOptions",
]
resolver = "2"
[profile.dev]
opt-level = 3
[profile.release]
lto = "fat"
codegen-units = 1
strip = "symbols"
panic = "abort"
[profile.bench]
lto = "fat"
codegen-units = 1