mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
Merge pull request #345 from djmitche/reexport-chrono
Re-export the chrono crate from taskchampion.
This commit is contained in:
commit
a030053dae
17 changed files with 23 additions and 24 deletions
|
@ -9,7 +9,6 @@ crate-type = ["staticlib", "cdylib"]
|
|||
|
||||
[dependencies]
|
||||
libc = "0.2.113"
|
||||
chrono = "^0.4.10"
|
||||
taskchampion = { path = "../taskchampion" }
|
||||
anyhow = "1.0"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::traits::*;
|
||||
use crate::types::*;
|
||||
use chrono::prelude::*;
|
||||
use taskchampion::chrono::prelude::*;
|
||||
|
||||
/// TCAnnotation contains the details of an annotation.
|
||||
///
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! Trait implementations for a few atomic types
|
||||
|
||||
use crate::traits::*;
|
||||
use chrono::prelude::*;
|
||||
use taskchampion::chrono::prelude::*;
|
||||
|
||||
impl PassByValue for usize {
|
||||
type RustType = usize;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
use crate::traits::*;
|
||||
use crate::types::*;
|
||||
use crate::util::err_to_ruststring;
|
||||
use chrono::{TimeZone, Utc};
|
||||
use std::convert::TryFrom;
|
||||
use std::ops::Deref;
|
||||
use std::ptr::NonNull;
|
||||
use std::str::FromStr;
|
||||
use taskchampion::chrono::{TimeZone, Utc};
|
||||
use taskchampion::{Annotation, Tag, Task, TaskMut};
|
||||
|
||||
/// A task, as publicly exposed by this library.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue