From 6441a58a05e15f469e4854fbb9bd4bd847a66c52 Mon Sep 17 00:00:00 2001 From: Jonas Kruckenberg Date: Mon, 14 Nov 2022 10:44:28 +0100 Subject: [PATCH] fix example --- Cargo.toml | 4 +- examples/test/dist/index.html | 6 +- .../{dist => src}/app.js | 0 .../{dist => src}/clipboard.js | 0 .../tauri-sys-91bd50ded94e0ed7/src/dialog.js | 111 +++++++++++++++ .../{dist => src}/event.js | 0 .../{dist => src}/mocks.js | 0 .../{dist => src}/process.js | 0 .../{dist => src}/tauri.js | 0 .../{dist => src}/window.js | 0 ...tauri-sys-test-ui-3eb704384493bbf2_bg.wasm | Bin 1678833 -> 0 bytes ... => tauri-sys-test-ui-f3731bf7a986379f.js} | 132 +++++++++--------- ...tauri-sys-test-ui-f3731bf7a986379f_bg.wasm | Bin 0 -> 1540975 bytes examples/test/src/app.rs | 4 +- examples/test/src/clipboard.rs | 4 +- examples/test/src/event.rs | 6 +- examples/test/src/window.rs | 4 +- 17 files changed, 190 insertions(+), 81 deletions(-) rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/app.js (100%) rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/clipboard.js (100%) create mode 100644 examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/src/dialog.js rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/event.js (100%) rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/mocks.js (100%) rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/process.js (100%) rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/tauri.js (100%) rename examples/test/dist/snippets/tauri-sys-91bd50ded94e0ed7/{dist => src}/window.js (100%) delete mode 100644 examples/test/dist/tauri-sys-test-ui-3eb704384493bbf2_bg.wasm rename examples/test/dist/{tauri-sys-test-ui-3eb704384493bbf2.js => tauri-sys-test-ui-f3731bf7a986379f.js} (94%) create mode 100644 examples/test/dist/tauri-sys-test-ui-f3731bf7a986379f_bg.wasm diff --git a/Cargo.toml b/Cargo.toml index ebd5e3e..655c997 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,9 +11,9 @@ js-sys = "0.3.59" serde = { version = "1.0.140", features = ["derive"] } wasm-bindgen = { version = "0.2.82", features = ["serde_json"] } wasm-bindgen-futures = "0.4.32" -url = { version = "2.3.1", optional = true } +url = { version = "2.3.1", optional = true, features = ["serde"] } thiserror = "1.0.37" -semver = { version = "1.0.14", optional = true } +semver = { version = "1.0.14", optional = true, features = ["serde"] } [dev-dependencies] wasm-bindgen-test = "0.3.33" diff --git a/examples/test/dist/index.html b/examples/test/dist/index.html index 6f47821..299ceb8 100644 --- a/examples/test/dist/index.html +++ b/examples/test/dist/index.html @@ -2,10 +2,10 @@ Tauri + Yew App - - + + -