File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed
tooling/cli/templates/plugin
__example-api/tauri-app/src-tauri
__example-basic/vanilla/src-tauri Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " cli.rs " : patch
3+ " cli.js " : patch
4+ ---
5+
6+ Add Cargo manifest files for the plugin example templates.
Original file line number Diff line number Diff line change 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" ]
Original file line number Diff line number Diff line change 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" ]
You can’t perform that action at this time.
0 commit comments