mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-31 17:03:30 +02:00
merge ot with rask
This commit is contained in:
commit
2d000fdeb9
20 changed files with 849 additions and 48 deletions
14
src/lib.rs
14
src/lib.rs
|
@ -1,13 +1,27 @@
|
|||
// 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;
|
||||
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<Vec<Task>> {
|
||||
Ok(tdb2::parse(filename, reader)?)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue