Skip to content

Commit

Permalink
update cargo toml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 18, 2025
1 parent 293035d commit 9ac11df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions truss-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ tokio = { version = "1.24", features = ["rt-multi-thread", "macros", "fs"] }
# Avoid openssl, to improve portability
# openssl = { version = "0.10", features = ["vendored"] }

# Default for non-aarch64 targets
reqwest = { version = "0.12.2", default-features = false, features = ["blocking", "json", "stream", "rustls-tls"] }


[target.'cfg(target_arch = "aarch64")'.dependencies]
# https://github.com/briansmith/ring/issues/1789
reqwest = { version = "0.12.2", features = ["blocking", "json", "stream"] }
openssl = { version = "0.10", features = ["vendored"] }
# else:
[target.'cfg(not(target_arch = "aarch64"))'.dependencies]
reqwest = { version = "0.12.2", default-features = false, features = ["blocking", "json", "stream", "rustls-tls"] }


[features]
cli = [] # For the CLI
Expand Down

0 comments on commit 9ac11df

Please sign in to comment.