export the Uuid type from taskchampion

This commit is contained in:
Dustin J. Mitchell 2020-11-24 11:44:21 -05:00
parent d84c156782
commit c8f14d68cb
5 changed files with 5 additions and 6 deletions

1
Cargo.lock generated
View file

@ -912,7 +912,6 @@ dependencies = [
"predicates",
"prettytable-rs",
"taskchampion",
"uuid",
]
[[package]]

View file

@ -6,7 +6,6 @@ edition = "2018"
[dependencies]
clap = "~2.33.0"
uuid = { version = "0.8.1", features = ["serde", "v4"] }
taskchampion = { path = "../taskchampion" }
failure = "0.1.8"
prettytable-rs = "0.8.0"

View file

@ -1,7 +1,6 @@
use clap::{App, Arg, ArgMatches, SubCommand as ClapSubCommand};
use failure::{format_err, Fallible};
use taskchampion::Status;
use uuid::Uuid;
use taskchampion::{Status, Uuid};
use crate::cmd::{ArgMatchResult, CommandInvocation};

View file

@ -1,7 +1,6 @@
use clap::Arg;
use failure::{format_err, Fallible};
use taskchampion::{Replica, Task};
use uuid::Uuid;
use taskchampion::{Replica, Task, Uuid};
pub(super) fn task_arg<'a>() -> Arg<'a, 'a> {
Arg::with_name("task")

View file

@ -34,5 +34,8 @@ pub use task::Priority;
pub use task::Status;
pub use task::{Task, TaskMut};
/// Re-exported type from the `uuid` crate, for ease of compatibility for consumers of this crate.
pub use uuid::Uuid;
#[cfg(test)]
pub(crate) mod testing;