Factor replica and sync configuration into simple owned structs

This commit is contained in:
Dustin J. Mitchell
2020-11-28 16:57:32 -05:00
parent 87596bb1f0
commit 8af7ba286d
16 changed files with 81 additions and 23 deletions

View File

@@ -2,11 +2,13 @@ use failure::Fallible;
use std::collections::HashMap;
use uuid::Uuid;
#[cfg(test)]
mod inmemory;
mod kv;
mod operation;
pub use self::kv::KVStorage;
#[cfg(test)]
pub use inmemory::InMemoryStorage;
pub use operation::Operation;