Filter using `VerifiedRRStream::resolve_name` in wasm
[dnssec-prover] / src / http.rs
index 51a6c2016b4c23e5c9de10ae5699a86d12c63645..ab162c94e68f2e5d65c9adfcbcd7f3cfb723250f 100644 (file)
@@ -2,6 +2,11 @@
 
 #![deny(missing_docs)]
 
+// const_slice_from_raw_parts was stabilized in 1.64, however we support building on 1.63 as well.
+// Luckily, it seems to work fine in 1.63 with the feature flag (and RUSTC_BOOTSTRAP=1) enabled.
+#![cfg_attr(feature = "validation", allow(stable_features))]
+#![cfg_attr(feature = "validation", feature(const_slice_from_raw_parts))]
+
 extern crate alloc;
 
 pub mod rr;