Skip to content

Commit

Permalink
[mod] reqwest use rustls-tls
Browse files Browse the repository at this point in the history
  • Loading branch information
Borber committed Nov 30, 2023
1 parent fbda871 commit 1d556c1
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 16 deletions.
113 changes: 102 additions & 11 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ anyhow = "1"
parking_lot = { version = "0.12", features = ["nightly"] }

tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", features = ["default", "gzip", "json"] }

reqwest = { version = "0.11", features = ["rustls-tls", "gzip", "json"] }

serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down Expand Up @@ -59,9 +58,6 @@ custom-protocol = ["tauri/custom-protocol"]
[build]
rustflags = ["-Z", "threads=8"]

[target.'cfg(unix)'.dependencies]
openssl = { version = '0.10', features = ["vendored"] }

[profile.release]
opt-level = "z"
lto = true
Expand Down

0 comments on commit 1d556c1

Please sign in to comment.