feat(http): add plugin (#325)

This commit is contained in:
Lucas Fernandes Nogueira
2023-04-23 11:34:31 -07:00
committed by GitHub
parent 7a8633f429
commit 89fb40caac
17 changed files with 5370 additions and 4 deletions
+31
View File
@@ -0,0 +1,31 @@
[package]
name = "tauri-plugin-http"
version = "0.1.0"
edition = "2021"
#edition.workspace = true
#authors.workspace = true
#license.workspace = true
[dependencies]
#serde.workspace = true
#serde_json.workspace = true
#tauri.workspace = true
#log.workspace = true
#thiserror.workspace = true
tauri = { git = "https://github.com/tauri-apps/tauri", branch = "next" }
serde = "1"
serde_json = "1"
thiserror = "1"
glob = "0.3"
rand = "0.8"
bytes = { version = "1", features = [ "serde" ] }
serde_repr = "0.1"
http = "0.2"
reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] }
[features]
http-multipart = [ "reqwest/multipart" ]
native-tls = [ "reqwest/native-tls" ]
native-tls-vendored = [ "reqwest/native-tls-vendored" ]
rustls-tls = [ "reqwest/rustls-tls" ]