add tauri-local-host plugin for sw (#345)

This commit is contained in:
Krishan
2024-09-13 22:04:35 +10:00
committed by GitHub
parent db5a2dbe01
commit aef6cf730b
3 changed files with 50 additions and 1 deletions

37
src-tauri/Cargo.lock generated
View File

@@ -82,6 +82,12 @@ dependencies = [
"x11rb",
]
[[package]]
name = "ascii"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
[[package]]
name = "async-broadcast"
version = "0.5.1"
@@ -442,6 +448,12 @@ dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "chunked_transfer"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e4de3bc4ea267985becf712dc6d9eed8b04c953b3fcfb339ebc87acd9804901"
[[package]]
name = "cinny"
version = "4.2.0"
@@ -450,6 +462,7 @@ dependencies = [
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-localhost",
]
[[package]]
@@ -3595,6 +3608,17 @@ dependencies = [
"tauri-utils",
]
[[package]]
name = "tauri-plugin-localhost"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f20786ccff879045f6bafec445fb5c6740c0c057372d2f992ae1281e4658c681"
dependencies = [
"serde_json",
"tauri",
"tiny_http",
]
[[package]]
name = "tauri-runtime"
version = "0.14.4"
@@ -3786,6 +3810,19 @@ dependencies = [
"time-core",
]
[[package]]
name = "tiny_http"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0d6ef4e10d23c1efb862eecad25c5054429a71958b4eeef85eb5e7170b477ca"
dependencies = [
"ascii",
"chunked_transfer",
"log",
"time",
"url",
]
[[package]]
name = "tinyvec"
version = "1.6.0"