Skip to content

Commit

Permalink
build(lib,test): force reqwest to use rustls
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
  • Loading branch information
gierens committed Feb 4, 2025
1 parent dfcc9fb commit 68f5b19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 184 deletions.
181 changes: 0 additions & 181 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/lib.rs"

[features]
default = ["all"]
vendored-tls = ["reqwest/native-tls-vendored"]
# vendored-tls = ["reqwest/native-tls-vendored"]
all = ["accounting", "budgeting", "hello", "pricing", "quota", "resources", "user"]
accounting = ["lrzcc-wire/accounting"]
budgeting = ["lrzcc-wire/budgeting"]
Expand All @@ -31,7 +31,7 @@ resources = ["lrzcc-wire/resources"]
user = ["lrzcc-wire/user"]

[dependencies]
reqwest = { version = "0.12", features = ["json", "blocking"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "blocking", "rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_urlencoded = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lrzcc-api = { version = "0.6", path = "../api" }
lrzcc-wire = { version = "1.5", path = "../wire" }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
serde_json = "1"
reqwest = { version = "0.12", features = ["json", "blocking"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "blocking", "rustls-tls"] }
uuid = { version = "1.12", features = ["v4", "serde"] }
once_cell = "1"
wiremock = "0.6"
Expand Down

0 comments on commit 68f5b19

Please sign in to comment.