From 070e63d91bd3656efaa43dbfd1166f1eb86400cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Tue, 27 Aug 2024 09:26:33 +0200 Subject: [PATCH] fix deps for arm --- Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 753a0d0..9ce2ef8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,15 +59,14 @@ tokio-util = { version = "0.7.11", features = ["io"] } [target.'cfg(target_family = "unix")'.dependencies] tokio-fd = "0.3.0" -[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies] +[target.'cfg(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies] tokio-rustls = { version = "0.26.0", features = [] } rcgen = { version = "0.13.1", default-features = false, features = ["aws_lc_rs"] } -[target.'cfg(not(any(target_os = "linux", target_os = "macos")))'.dependencies] +[target.'cfg(not(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64"))))'.dependencies] tokio-rustls = { version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"] } rcgen = { version = "0.13.1", default-features = false, features = ["ring"] } - [dev-dependencies] testcontainers = "0.17.0"