Files
web2app/template/src-tauri/Cargo.toml
shumengya 45415da2e2 fix(tauri): bypass WebView CORS for packaged R2/S3 apps
Preserve aws4fetch Request headers in the shell fetch interceptor, and
proxy cross-origin HTTP through a native reqwest command so Windows/Android
builds work even when remote CORS only allows web origins.
2026-07-19 10:11:50 +08:00

27 lines
600 B
TOML

[package]
name = "web2app-template"
version = "1.0.0"
description = "Web2App static site shell"
authors = ["web2app"]
edition = "2021"
[lib]
name = "web2app_template_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "gzip", "brotli", "deflate"] }
base64 = "0.22"
[profile.release]
codegen-units = 1
lto = true
strip = true