mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
28 lines
547 B
Rust
28 lines
547 B
Rust
// 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<Vec<Task>> {
|
|
Ok(tdb2::parse(filename, reader)?)
|
|
}
|