mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
518b529a19
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
67 lines
1.9 KiB
TOML
67 lines
1.9 KiB
TOML
[package]
|
|
name = "tauri-plugin-http"
|
|
version = "2.0.0-beta.13"
|
|
description = "Access an HTTP client written in Rust."
|
|
edition = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
repository = { workspace = true }
|
|
links = "tauri-plugin-http"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustc-args = [ "--cfg", "docsrs" ]
|
|
rustdoc-args = [ "--cfg", "docsrs" ]
|
|
|
|
[build-dependencies]
|
|
tauri-plugin = { workspace = true, features = [ "build" ] }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true }
|
|
url = { workspace = true }
|
|
urlpattern = "0.2"
|
|
regex = "1"
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tauri = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { version = "1", features = [ "sync", "macros" ] }
|
|
tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.12" }
|
|
urlpattern = "0.2"
|
|
regex = "1"
|
|
http = "1"
|
|
reqwest = { version = "0.12", default-features = false }
|
|
url = { workspace = true }
|
|
data-url = "0.3"
|
|
|
|
[features]
|
|
default = [
|
|
"rustls-tls",
|
|
"http2",
|
|
"charset",
|
|
"macos-system-configuration",
|
|
"cookies"
|
|
]
|
|
multipart = [ "reqwest/multipart" ]
|
|
json = [ "reqwest/json" ]
|
|
stream = [ "reqwest/stream" ]
|
|
native-tls = [ "reqwest/native-tls" ]
|
|
native-tls-vendored = [ "reqwest/native-tls-vendored" ]
|
|
native-tls-alpn = [ "reqwest/native-tls-alpn" ]
|
|
rustls-tls = [ "reqwest/rustls-tls" ]
|
|
rustls-tls-manual-roots = [ "reqwest/rustls-tls-manual-roots" ]
|
|
rustls-tls-webpki-roots = [ "reqwest/rustls-tls-webpki-roots" ]
|
|
rustls-tls-native-roots = [ "reqwest/rustls-tls-native-roots" ]
|
|
blocking = [ "reqwest/blocking" ]
|
|
cookies = [ "reqwest/cookies" ]
|
|
gzip = [ "reqwest/gzip" ]
|
|
brotli = [ "reqwest/brotli" ]
|
|
deflate = [ "reqwest/deflate" ]
|
|
trust-dns = [ "reqwest/trust-dns" ]
|
|
socks = [ "reqwest/socks" ]
|
|
http2 = [ "reqwest/http2" ]
|
|
charset = [ "reqwest/charset" ]
|
|
macos-system-configuration = [ "reqwest/macos-system-configuration" ]
|
|
unsafe-headers = [ ]
|