Skip to content

Commit

Permalink
use rustls in reqwest
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejb committed Feb 2, 2024
1 parent e03ffed commit 46b0f29
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 21 deletions.
50 changes: 36 additions & 14 deletions Cargo.lock

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

9 changes: 2 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ edition = "2021"
build = "build.rs"

[dependencies]
chrono = {version = "0.4.26", features = ["serde"] }
chrono = { version = "0.4.26", features = ["serde"] }
image = "0.24.7"
reqwest = { version = "0.11.23", features = ["json"] }
reqwest = { version = "0.11.23", features = ["json", "rustls"] }
serde = { version = "1.0.183", features = ["derive"] }
serde_json = "1.0.104"
serde_with = "3.4.0"
Expand All @@ -17,10 +17,5 @@ log = "0.4.20"
env_logger = "0.10.1"
tokio = { version = "1.35.1", features = ["rt-multi-thread"] }


# Vendored OpenSSL seems to be required for building on Linux on GHA, but not for Windows or Mac. Maybe this can be fixed some other way
[target.'cfg(target_os = "linux")'.dependencies]
openssl = { version = "0.10", features = ["vendored"] }

[build-dependencies]
slint-build = "1.3.2"

0 comments on commit 46b0f29

Please sign in to comment.