[package]
name = "github-productivity-app"
version = "0.1.0"
description = "A Tauri App"
authors = ["Andrew Kieckhefer"]
edition = "2021"
rusqlite = { version = "0.29", features = ["bundled"] }
serde = { version = "1", features = ["derive"] }
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["macros"] }
chrono = "0.4"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "github_productivity_app_lib"
path = "src/lib.rs"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-dialog = "2"
serde_json = "1"
Вот какую ошибку я получаю (та же ошибка произошла при сборке npm run tauri):
Это Cargo.toml пакета: [code][package] name = "github-productivity-app" version = "0.1.0" description = "A Tauri App" authors = ["Andrew Kieckhefer"] edition = "2021" rusqlite = { version = "0.29", features = ["bundled"] } serde = { version = "1", features = ["derive"] } reqwest = { version = "0.11", features = ["json"] } tokio = { version = "1", features = ["macros"] } chrono = "0.4"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] # The `_lib` suffix may seem redundant but it is necessary # to make the lib name unique and wouldn't conflict with the bin name. # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519 name = "github_productivity_app_lib" path = "src/lib.rs" [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = [] } tauri-plugin-dialog = "2" serde_json = "1" [/code] Вот какую ошибку я получаю (та же ошибка произошла при сборке npm run tauri): [code]PS C:\Users\Owner\Github-Pr\src-tauri> cargo build warning: unused manifest key: package.chrono warning: unused manifest key: package.reqwest warning: unused manifest key: package.rusqlite warning: unused manifest key: package.serde warning: unused manifest key: package.tokio Compiling proc-macro2 v1.0.106 Compiling quote v1.0.44 ... Compiling tauri-macros v2.5.4 Compiling github-productivity-app v0.1.0 (C:\Users\Owner\Github-Pr\src-tauri) error: failed to run custom build command for `github-productivity-app v0.1.0 (C:\Users\Owner\Github-Pr\src-tauri)`
Caused by: process didn't exit successfully: `C:\Users\Owner\Github-Pr\src-tauri\target\debug\build\github-productivity-app-6285fa5fd3727b53\build-script-build` (exit code: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rustc-check-cfg=cfg(desktop) cargo:rustc-cfg=desktop cargo:rustc-check-cfg=cfg(mobile) cargo:rerun-if-changed=C:\Users\Owner\Github-Pr\src-tauri\tauri.conf.json [/code] Что вызывает эту ошибку и как ее исправить?