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"