refactor(crypto): move Integrable trait to arbiter-crypto
This commit is contained in:
6
server/crates/arbiter-crypto/src/integrity.rs
Normal file
6
server/crates/arbiter-crypto/src/integrity.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use crate::hashing::Hashable;
|
||||
|
||||
pub trait Integrable: Hashable {
|
||||
const KIND: &'static str;
|
||||
const VERSION: i32 = 1;
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
#[cfg(feature = "authn")]
|
||||
pub mod authn;
|
||||
pub mod hashing;
|
||||
pub mod integrity;
|
||||
#[cfg(feature = "safecell")]
|
||||
pub mod safecell;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user