Skip to content

Commit d48aaa1

Browse files
authored
fix(cli): readd plugin example template Cargo.toml files (#6894)
1 parent 4585a1c commit d48aaa1

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cli.rs": patch
3+
"cli.js": patch
4+
---
5+
6+
Add Cargo manifest files for the plugin example templates.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
name = "tauri-app"
3+
version = "0.0.0"
4+
description = "A Tauri App"
5+
authors = ["you"]
6+
license = ""
7+
repository = ""
8+
edition = "2021"
9+
rust-version = "1.60"
10+
11+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12+
13+
[build-dependencies]
14+
tauri-build = {{ tauri_build_dep }}
15+
16+
[dependencies]
17+
tauri = {{ tauri_example_dep }}
18+
tauri-plugin-{{ plugin_name }} = { path = "../../../" }
19+
20+
[features]
21+
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
22+
# 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.
23+
# DO NOT REMOVE!!
24+
custom-protocol = [ "tauri/custom-protocol" ]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
name = "tauri-app"
3+
version = "0.0.0"
4+
description = "A Tauri App"
5+
authors = ["you"]
6+
license = ""
7+
repository = ""
8+
edition = "2021"
9+
rust-version = "1.60"
10+
11+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12+
13+
[build-dependencies]
14+
tauri-build = {{ tauri_build_dep }}
15+
16+
[dependencies]
17+
tauri = {{ tauri_example_dep }}
18+
tauri-plugin-{{ plugin_name }} = { path = "../../../" }
19+
20+
[features]
21+
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
22+
# 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.
23+
# DO NOT REMOVE!!
24+
custom-protocol = [ "tauri/custom-protocol" ]

0 commit comments

Comments
 (0)