Skip to content

Commit

Permalink
Disable botan tests for windows
Browse files Browse the repository at this point in the history
Botan's rust bindings don't compile on windows
  • Loading branch information
est31 committed Jun 15, 2023
1 parent dc28c2c commit d3ab04a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ features = ["x509-parser"]
openssl = "0.10"
x509-parser = { version = "0.15", features = ["verify"] }
webpki = { version = "0.22", features = ["std"] }
botan = { version = "0.10", features = ["vendored"] }
rand = "0.8"
rsa = "0.8"

[target.'cfg(not(windows))'.dependencies]
botan = { version = "0.10", features = ["vendored"] }


# This greatly speeds up rsa key generation times
# (only applies to the dev-dependency because cargo
# ignores profile overrides for non leaf packages)
Expand Down
2 changes: 1 addition & 1 deletion tests/botan.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[cfg(feature = "x509-parser")]
#![cfg(all(feature = "x509-parser", not(windows)))]
use rcgen::DnValue;
use rcgen::{BasicConstraints, Certificate, CertificateParams, DnType, IsCa};

Expand Down

0 comments on commit d3ab04a

Please sign in to comment.