Skip to content

Commit

Permalink
Remove reqwest wildcard dependency (#737)
Browse files Browse the repository at this point in the history
## Type of change
```
- [x] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other
```

## Objective
Remove wildcard dep that forbids publishing to crates.io. Set the
version to the same one used everywhere else.

(cherry picked from commit 9d64232)
  • Loading branch information
dani-garcia authored and michalchecinski committed Apr 25, 2024
1 parent de91a84 commit 3e09956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bitwarden/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ zxcvbn = ">= 2.2.2, <3.0"
# There are a few exceptions to this:
# - WASM doesn't require a TLS stack, as it just uses the browsers/node fetch
# - Android uses webpki-roots for the moment
reqwest = { version = "*", features = [
reqwest = { version = ">=0.12, <0.13", features = [
"rustls-tls-manual-roots",
], default-features = false }
rustls-platform-verifier = "0.2.0"

[target.'cfg(target_os = "android")'.dependencies]
# On android, the use of rustls-platform-verifier is more complicated and going through some changes at the moment, so we fall back to using webpki-roots
# This means that for the moment android won't support self-signed certificates, even if they are included in the OS trust store
reqwest = { version = "*", features = [
reqwest = { version = ">=0.12, <0.13", features = [
"rustls-tls-webpki-roots",
], default-features = false }

Expand Down

0 comments on commit 3e09956

Please sign in to comment.