fix(cli): readd plugin example template Cargo.toml files (#6894)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-07 17:19:51 -07:00
committed by GitHub
parent 4585a1cbb0
commit d48aaa150a
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Add Cargo manifest files for the plugin example templates.

View File

@@ -0,0 +1,24 @@
[package]
name = "tauri-app"
version = "0.0.0"
description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
edition = "2021"
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 }}
[dependencies]
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.
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
# DO NOT REMOVE!!
custom-protocol = [ "tauri/custom-protocol" ]

View File

@@ -0,0 +1,24 @@
[package]
name = "tauri-app"
version = "0.0.0"
description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
edition = "2021"
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 }}
[dependencies]
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.
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
# DO NOT REMOVE!!
custom-protocol = [ "tauri/custom-protocol" ]