chore(zk): mark non-pke proofs as experimental

This commit is contained in:
Nicolas Sarlin
2025-06-10 12:33:20 +02:00
committed by Nicolas Sarlin
parent 167329c52a
commit ab0ec4a238
3 changed files with 14 additions and 3 deletions

View File

@@ -25,6 +25,9 @@ zeroize = "1.7.0"
num-bigint = "0.4.5"
tfhe-versionable = { version = "0.6.0", path = "../utils/tfhe-versionable" }
[features]
experimental = []
[dev-dependencies]
serde_json = "~1.0"
itertools = { workspace = true }

View File

@@ -42,6 +42,7 @@ impl<T: ?Sized> OneBased<T> {
Self(inner)
}
#[cfg(feature = "experimental")]
pub fn new_ref(inner: &T) -> &Self {
unsafe { &*(inner as *const T as *const Self) }
}
@@ -375,12 +376,17 @@ where
}
}
#[cfg(feature = "experimental")]
pub mod binary;
#[cfg(feature = "experimental")]
pub mod index;
#[cfg(feature = "experimental")]
pub mod range;
#[cfg(feature = "experimental")]
pub mod rlwe;
pub mod pke;
pub mod pke_v2;
pub mod range;
pub mod rlwe;
#[cfg(test)]
mod test {