Fix rust run

This commit is contained in:
Bruno Bernardino 2022-01-03 21:58:27 +00:00
parent e3c634374c
commit dfbc964070
No known key found for this signature in database
GPG Key ID: D1B0A69ADD114ECE
3 changed files with 13 additions and 12 deletions

View File

@ -8,4 +8,5 @@ packages/electron/build/**/*
packages/electron/dist/**/*
packages/tauri/dist/**/*
packages/tauri/src-tauri/target/**/*
packages/tauri/tauri-update.json
package-lock.json

View File

@ -2,16 +2,6 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "padloc"
version = "4.0.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
]
[[package]]
name = "adler"
version = "1.0.2"
@ -1848,6 +1838,16 @@ dependencies = [
"winapi",
]
[[package]]
name = "padloc"
version = "4.0.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
]
[[package]]
name = "pango"
version = "0.14.8"

View File

@ -5,7 +5,7 @@ description = "Padloc"
authors = [ "Martin Kleinschrodt <martin@maklesoft.com>" ]
license = "GPL-3.0"
repository = "https://github.com/padloc/padloc"
default-run = "Padloc"
default-run = "padloc"
edition = "2021"
build = "src/build.rs"
@ -15,7 +15,7 @@ tauri-build = { version = "1.0.0-beta.4" }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = [ "derive" ] }
tauri = { version = "1.0.0-beta.8", features = ["api-all"] }
tauri = { version = "1.0.0-beta.8", features = ["api-all", "updater"] }
[features]
default = [ "custom-protocol" ]