| ... | @@ -40,8 +40,10 @@ fn main() -> Result<(), std::io::Error> { |
... | @@ -40,8 +40,10 @@ fn main() -> Result<(), std::io::Error> { |
|
|
// directory.
|
|
// directory.
|
|
|
let content = String::from_utf8(content).unwrap()
|
|
let content = String::from_utf8(content).unwrap()
|
|
|
.replace("REQUIRES",
|
|
.replace("REQUIRES",
|
|
|
if cfg!(feature = "crypto-botan") {
|
|
if cfg!(feature = "crypto-botan2") {
|
|
|
"botan-2"
|
|
"botan-2"
|
|
|
|
} else if cfg!(feature = "crypto-botan3") {
|
|
|
|
"botan-3"
|
|
|
} else if cfg!(feature = "crypto-nettle") {
|
|
} else if cfg!(feature = "crypto-nettle") {
|
|
|
"nettle"
|
|
"nettle"
|
|
|
} else if cfg!(feature = "crypto-cng") {
|
|
} else if cfg!(feature = "crypto-cng") {
|
| ... | | ... | |