mirror of
https://github.com/tauri-apps/tauri-plugin-http.git
synced 2026-01-31 00:45:17 +01:00
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11956038248 Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
76 lines
2.2 KiB
TOML
76 lines
2.2 KiB
TOML
[package]
|
|
name = "tauri-plugin-http"
|
|
version = "2.0.3"
|
|
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"]
|
|
|
|
[package.metadata.platforms.support]
|
|
windows = { level = "full", notes = "" }
|
|
linux = { level = "full", notes = "" }
|
|
macos = { level = "full", notes = "" }
|
|
android = { level = "full", notes = "" }
|
|
ios = { level = "full", notes = "" }
|
|
|
|
[build-dependencies]
|
|
tauri-plugin = { workspace = true, features = ["build"] }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true }
|
|
url = { workspace = true }
|
|
urlpattern = "0.3"
|
|
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.3" }
|
|
urlpattern = "0.3"
|
|
regex = "1"
|
|
http = "1"
|
|
reqwest = { version = "0.12", default-features = false }
|
|
url = { workspace = true }
|
|
data-url = "0.3"
|
|
tracing = { workspace = true, optional = true }
|
|
|
|
[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 = []
|
|
tracing = ["dep:tracing"]
|