// TODO: remove this eventually when there's an API #![allow(dead_code)] #[macro_use] extern crate failure; mod errors; mod operation; mod replica; mod server; mod task; mod taskdb; pub mod taskstorage; mod tdb2; pub use operation::Operation; pub use replica::Replica; pub use server::Server; pub use task::Task; pub use taskdb::DB; use failure::Fallible; use std::io::BufRead; // TODO: remove (artifact of merging projects) pub fn parse(filename: &str, reader: impl BufRead) -> Fallible> { Ok(tdb2::parse(filename, reader)?) }