mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +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",
|
"predicates",
|
||||||
"prettytable-rs",
|
"prettytable-rs",
|
||||||
"taskchampion",
|
"taskchampion",
|
||||||
"uuid",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
@ -6,7 +6,6 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "~2.33.0"
|
clap = "~2.33.0"
|
||||||
uuid = { version = "0.8.1", features = ["serde", "v4"] }
|
|
||||||
taskchampion = { path = "../taskchampion" }
|
taskchampion = { path = "../taskchampion" }
|
||||||
failure = "0.1.8"
|
failure = "0.1.8"
|
||||||
prettytable-rs = "0.8.0"
|
prettytable-rs = "0.8.0"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
use clap::{App, Arg, ArgMatches, SubCommand as ClapSubCommand};
|
use clap::{App, Arg, ArgMatches, SubCommand as ClapSubCommand};
|
||||||
use failure::{format_err, Fallible};
|
use failure::{format_err, Fallible};
|
||||||
use taskchampion::Status;
|
use taskchampion::{Status, Uuid};
|
||||||
use uuid::Uuid;
|
|
||||||
|
|
||||||
use crate::cmd::{ArgMatchResult, CommandInvocation};
|
use crate::cmd::{ArgMatchResult, CommandInvocation};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
use clap::Arg;
|
use clap::Arg;
|
||||||
use failure::{format_err, Fallible};
|
use failure::{format_err, Fallible};
|
||||||
use taskchampion::{Replica, Task};
|
use taskchampion::{Replica, Task, Uuid};
|
||||||
use uuid::Uuid;
|
|
||||||
|
|
||||||
pub(super) fn task_arg<'a>() -> Arg<'a, 'a> {
|
pub(super) fn task_arg<'a>() -> Arg<'a, 'a> {
|
||||||
Arg::with_name("task")
|
Arg::with_name("task")
|
||||||
|
|
|
@ -34,5 +34,8 @@ pub use task::Priority;
|
||||||
pub use task::Status;
|
pub use task::Status;
|
||||||
pub use task::{Task, TaskMut};
|
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)]
|
#[cfg(test)]
|
||||||
pub(crate) mod testing;
|
pub(crate) mod testing;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue