Re-export the chrono crate from taskchampion.
The chrono types are central to use of TC, so this will help consumers of the TC crate to avoid dependency conflicts.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user