update composer with image upload

This commit is contained in:
Ren Amamiya
2023-07-22 15:32:34 +07:00
parent 17d2a8cb56
commit 20a8ce9cba
14 changed files with 261 additions and 36 deletions

37
src-tauri/Cargo.lock generated
View File

@@ -2546,6 +2546,7 @@ dependencies = [
"tauri-plugin-single-instance",
"tauri-plugin-sql",
"tauri-plugin-stronghold",
"tauri-plugin-upload",
]
[[package]]
@@ -3594,6 +3595,17 @@ dependencies = [
"num_cpus",
]
[[package]]
name = "read-progress-stream"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6435842fc2fea44b528719eb8c32203bbc1bb2f5b619fbe0c0a3d8350fd8d2a8"
dependencies = [
"bytes",
"futures",
"pin-project-lite",
]
[[package]]
name = "redox_syscall"
version = "0.2.16"
@@ -4912,7 +4924,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-autostart"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#51f20b438e42050cdbfd6c6dc72dbc985a31bbc1"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#0863f800b81925884a6a37c042f3d92d433d4a37"
dependencies = [
"auto-launch",
"log",
@@ -4925,7 +4937,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-single-instance"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#51f20b438e42050cdbfd6c6dc72dbc985a31bbc1"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#0863f800b81925884a6a37c042f3d92d433d4a37"
dependencies = [
"log",
"serde",
@@ -4939,7 +4951,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-sql"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#51f20b438e42050cdbfd6c6dc72dbc985a31bbc1"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#0863f800b81925884a6a37c042f3d92d433d4a37"
dependencies = [
"futures-core",
"log",
@@ -4955,7 +4967,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-stronghold"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#51f20b438e42050cdbfd6c6dc72dbc985a31bbc1"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#0863f800b81925884a6a37c042f3d92d433d4a37"
dependencies = [
"hex",
"iota-crypto 0.23.0",
@@ -4968,6 +4980,23 @@ dependencies = [
"zeroize",
]
[[package]]
name = "tauri-plugin-upload"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=v1#0863f800b81925884a6a37c042f3d92d433d4a37"
dependencies = [
"futures-util",
"log",
"read-progress-stream",
"reqwest",
"serde",
"serde_json",
"tauri",
"thiserror",
"tokio",
"tokio-util",
]
[[package]]
name = "tauri-runtime"
version = "0.14.0"