summaryrefslogtreecommitdiffstats
path: root/openpgp/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/build.rs')
-rw-r--r--openpgp/build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/openpgp/build.rs b/openpgp/build.rs
index 210483e5..aabf157d 100644
--- a/openpgp/build.rs
+++ b/openpgp/build.rs
@@ -62,6 +62,12 @@ fn crypto_backends_sanity_check() {
production_ready: true,
constant_time: true,
}),
+ (cfg!(feature = "crypto-rust"),
+ Backend {
+ name: "RustCrypto",
+ production_ready: false,
+ constant_time: false,
+ }),
].into_iter().filter_map(|(selected, backend)| {
if selected { Some(backend) } else { None }
}).collect::<Vec<_>>();