Skip to content

Commit

Permalink
update cargo lock
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 18, 2025
1 parent 8bf1bf6 commit b702c8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion truss-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
tokio = { version = "1.24", features = ["rt-multi-thread", "macros", "fs"] }

# Base reqwest dependency without default features
# Default reqwest dependency with rustls for portability
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "x64", target_arch = "ppc64le"))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "stream", "rustls-tls"] }

# Use OpenSSL for all ARM-based architectures
[target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "stream", "default-tls"] }
openssl = { version = "0.10", features = ["vendored"] }


[features]
# CLI uses reqwest with rustls-tls
cli = []
Expand Down

0 comments on commit b702c8e

Please sign in to comment.