diff options
Diffstat (limited to 'src/federation/store/mod.rs')
| -rw-r--r-- | src/federation/store/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/federation/store/mod.rs b/src/federation/store/mod.rs index da05b4b..73ed029 100644 --- a/src/federation/store/mod.rs +++ b/src/federation/store/mod.rs @@ -8,6 +8,10 @@ use sha2::{Digest, Sha256}; use crate::transport::Hex; +pub(crate) mod memory; +#[cfg(test)] +pub(crate) mod testfold; + /// An event's name: the SHA-256 of its bytes, written as 64 lower-case hex digits. #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub(crate) struct Id(pub(crate) [u8; 32]); |
