mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
export the Uuid type from taskchampion
This commit is contained in:
parent
d84c156782
commit
c8f14d68cb
5 changed files with 5 additions and 6 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -912,7 +912,6 @@ dependencies = [
|
|||
"predicates",
|
||||
"prettytable-rs",
|
||||
"taskchampion",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue