-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (44 loc) · 1.07 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (44 loc) · 1.07 KB
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
[package]
name = "dioxus_html_rsx"
version = "0.1.0"
edition = "2024"
[dependencies]
dioxus = { version = "0.6.3" }
serde = { version = "1.0.219", features = ["derive"] }
dioxus-rsx-rosetta = { version = "0.6.2" }
dioxus-autofmt = { version = "0.6.2" }
wasm-bindgen = { version = "0.2.100", optional = true }
js-sys = { version = "0.3.77", optional = true }
web-sys = { version = "0.3.77", features = [
"Window",
"Navigator",
"Clipboard",
"Document",
"HtmlTextAreaElement",
"Element",
"HtmlElement",
], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.100"
js-sys = "0.3.77"
web-sys = { version = "0.3.77", features = [
"Window",
"Navigator",
"Clipboard",
"Document",
"HtmlTextAreaElement",
"Element",
"HtmlElement",
] }
[features]
default = ["web"]
web = ["dioxus/web", "wasm-bindgen", "web-sys", "js-sys"]
desktop = ["dioxus/desktop"]
mobile = ["dioxus/mobile"]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"