Spaces:
Runtime error
Runtime error
Create Cargo.toml
Browse files- Cargo.toml +15 -0
Cargo.toml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "iced-trunk-example"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
edition = "2021"
|
| 5 |
+
|
| 6 |
+
[dependencies]
|
| 7 |
+
iced = { version = "0.12", features = ["webgl"] }
|
| 8 |
+
|
| 9 |
+
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
| 10 |
+
wasm-bindgen = "0.2"
|
| 11 |
+
console_error_panic_hook = "0.1"
|
| 12 |
+
|
| 13 |
+
[profile.release]
|
| 14 |
+
opt-level = "s"
|
| 15 |
+
lto = true
|