From f08448ab9a51b29037c815fd0a699d2e155d826f Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Sat, 8 Jun 2024 21:37:32 +0800 Subject: [PATCH 1/2] chore(template): template format error --- .../plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml b/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml index 3d6bc6ab8563..25ca13487826 100644 --- a/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml +++ b/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml @@ -11,13 +11,13 @@ rust-version = "1.60" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -tauri-build = {{ tauri_build_dep }} +tauri-build = "1" [dependencies] serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } -tauri = {{ tauri_example_dep }} -tauri-plugin-{{ plugin_name }} = { path = "../../../" } +tauri = "1" +tauri-plugin-PLUGIN_NAME = { path = "../../../" } [features] # this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled. From a5d588f291044cd8a1e870f9327983ece2f076ba Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Wed, 12 Jun 2024 08:40:43 +0800 Subject: [PATCH 2/2] fix --- .../src-tauri/{Cargo.toml => Cargo.crate-manifest} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/{Cargo.toml => Cargo.crate-manifest} (85%) diff --git a/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml b/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.crate-manifest similarity index 85% rename from tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml rename to tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.crate-manifest index 25ca13487826..3d6bc6ab8563 100644 --- a/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml +++ b/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.crate-manifest @@ -11,13 +11,13 @@ rust-version = "1.60" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -tauri-build = "1" +tauri-build = {{ tauri_build_dep }} [dependencies] serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } -tauri = "1" -tauri-plugin-PLUGIN_NAME = { path = "../../../" } +tauri = {{ tauri_example_dep }} +tauri-plugin-{{ plugin_name }} = { path = "../../../" } [features] # this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.