Skip to content

Commit

Permalink
fix(cli): readd Cargo.toml to the plugin template (#6637)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Apr 4, 2023
1 parent 5769ee6 commit 5288a38
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/fix-plugin-template-cargotoml.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Readd the Cargo.toml file to the plugin template.
16 changes: 16 additions & 0 deletions tooling/cli/templates/plugin/Cargo.crate-manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "tauri-plugin-{{ plugin_name }}"
version = "0.0.0"
authors = [ "{{ author }}" ]
description = ""
edition = "2021"
rust-version = "1.60"
exclude = ["/examples", "/webview-dist", "/webview-src", "/node_modules"]

[dependencies]
tauri = {{{ tauri_dep }}}
serde = "1.0"
thiserror = "1.0"

[build-dependencies]
tauri-build = {{{ tauri_build_dep }}}

0 comments on commit 5288a38

Please sign in to comment.