Skip to content

Commit 5288a38

Browse files
authored
fix(cli): readd Cargo.toml to the plugin template (#6637)
1 parent 5769ee6 commit 5288a38

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-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+
Readd the Cargo.toml file to the plugin template.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "tauri-plugin-{{ plugin_name }}"
3+
version = "0.0.0"
4+
authors = [ "{{ author }}" ]
5+
description = ""
6+
edition = "2021"
7+
rust-version = "1.60"
8+
exclude = ["/examples", "/webview-dist", "/webview-src", "/node_modules"]
9+
10+
[dependencies]
11+
tauri = {{{ tauri_dep }}}
12+
serde = "1.0"
13+
thiserror = "1.0"
14+
15+
[build-dependencies]
16+
tauri-build = {{{ tauri_build_dep }}}

0 commit comments

Comments
 (0)