Make it build

This commit is contained in:
Bianca Fürstenau 2025-03-04 15:45:51 +01:00
parent 6c75037edd
commit 1cf83b65df
4 changed files with 728 additions and 405 deletions

1113
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -26,11 +26,12 @@ all-features = true
[features]
all = ["core", "dpi", "event", "menu", "window"]
core = []
core = ["dep:futures"]
dpi = []
event = ["dep:futures"]
menu = ["core", "window"]
window = ["dpi", "event"]
fs = []
[workspace]
members = ["examples/test", "examples/test/src-tauri"]

View file

@ -5,16 +5,13 @@ description = "A Tauri App"
authors = ["you"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
# tauri-build = { version = "2.0.0-rc", features = [] }
tauri-build = { path = "../../../../tauri/core/tauri-build", features = [] }
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2.0.0-rc", features = [] }
tauri-plugin-shell = "2.0.0-rc"
tauri = { version = "2", features = [] }
tauri-plugin-shell = { version = "2" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
serde_json = { version = "1" }
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18" }

View file

@ -1,7 +1,7 @@
use std::path::PathBuf;
use wasm_bindgen::JsValue;
#[derive(Clone, Eq, PartialEq, Debug, thiserror::Error)]
#[derive(Clone, Eq, PartialEq, Debug, thiserror::Error, serde::Deserialize)]
pub enum Error {
#[error("Command returned Error: {0}")]
Command(String),