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

@ -23,6 +23,7 @@ for more information about the design and usage of the tool.
*/
mod config;
mod errors;
mod replica;
pub mod server;
@ -31,6 +32,7 @@ mod taskdb;
pub mod taskstorage;
mod utils;
pub use config::{ReplicaConfig, ServerConfig};
pub use replica::Replica;
pub use task::Priority;
pub use task::Status;