kameo_persistence/lib.rs
1pub mod bi_hash_map;
2pub mod persistent_actor;
3
4// Re-export local modules
5pub use bi_hash_map::BiHashMap;
6pub use persistent_actor::PersistentActor;
7
8// Re-export macros
9pub use kameo_persistence_macros::PersistentActor;
10
11// Test module
12#[cfg(test)]
13mod tests {
14
15 #[test]
16 fn build() {
17 let t = trybuild::TestCases::new();
18 t.pass("tests/derive_persistent_actor.rs");
19 t.pass("tests/derive_persistent_actor_with_custom_snapshot.rs");
20 }
21}