From 12397c2b4ae54f377915553452ac76754f092cf3 Mon Sep 17 00:00:00 2001 From: est31 Date: Thu, 15 Jun 2023 07:19:00 +0200 Subject: [PATCH] Enable botan tests on windows again Revert of d3ab04a84b78bed81c67d21873581302c787fc25 --- Cargo.toml | 5 +---- tests/botan.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 52b80769..ed628ecc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,13 +36,10 @@ features = ["x509-parser"] openssl = "0.10" x509-parser = { version = "0.15", features = ["verify"] } rustls-webpki = { version = "0.101.0", features = ["std"] } +botan = { version = "0.10", features = ["vendored"] } rand = "0.8" rsa = "0.9" -[target.'cfg(not(windows))'.dev-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) diff --git a/tests/botan.rs b/tests/botan.rs index 1ea09e14..99d2a8ed 100644 --- a/tests/botan.rs +++ b/tests/botan.rs @@ -1,4 +1,4 @@ -#![cfg(all(feature = "x509-parser", not(windows)))] +#![cfg(feature = "x509-parser")] use rcgen::DnValue; use rcgen::{BasicConstraints, Certificate, CertificateParams, DnType, IsCa};