diff --git a/Cargo.toml b/Cargo.toml index 21b87281..33d08183 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,4 +33,6 @@ features = ["x509-parser"] [dev-dependencies] openssl = "0.10" webpki = "0.21" + +[target.'cfg(not(target_os = "macos"))'.dependencies] botan = { version = "0.7", features = ["vendored"] } diff --git a/tests/botan.rs b/tests/botan.rs index a2f8e1b1..0e5dabd4 100644 --- a/tests/botan.rs +++ b/tests/botan.rs @@ -1,3 +1,5 @@ +#![cfg(not(target_os = "macos"))] + extern crate botan; extern crate rcgen;