mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-07 22:04:10 -05:00
chore(zk): mark non-pke proofs as experimental
This commit is contained in:
committed by
Nicolas Sarlin
parent
167329c52a
commit
ab0ec4a238
@@ -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 }
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user