Update chrono: 0.3 -> 0.4
This commit is contained in:
parent
3c07f47c4a
commit
aee7772665
5 changed files with 13 additions and 13 deletions
|
@ -14,7 +14,7 @@ repository = "https://github.com/matthiasbeyer/imag"
|
|||
homepage = "http://imag-pim.org"
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.3"
|
||||
chrono = "0.4"
|
||||
toml-query = "0.3"
|
||||
lazy_static = "0.2"
|
||||
toml = "0.4"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
use chrono::Datelike;
|
||||
use chrono::Timelike;
|
||||
|
||||
|
@ -133,8 +133,8 @@ mod test {
|
|||
use datepath::accuracy::Accuracy;
|
||||
use datepath::format::Format;
|
||||
|
||||
use chrono::naive::date::NaiveDate;
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::NaiveDate;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
|
||||
#[test]
|
||||
fn test_compiler_compile_simple() {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
|
||||
use libimagstore::storeid::StoreId;
|
||||
use datepath::result::Result;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
use toml_query::delete::TomlValueDeleteExt;
|
||||
use toml_query::insert::TomlValueInsertExt;
|
||||
use toml_query::read::TomlValueReadExt;
|
||||
|
@ -219,9 +219,9 @@ mod tests {
|
|||
|
||||
use libimagstore::store::Store;
|
||||
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::date::NaiveDate;
|
||||
use chrono::naive::time::NaiveTime;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
use chrono::naive::NaiveDate;
|
||||
use chrono::naive::NaiveTime;
|
||||
|
||||
pub fn get_store() -> Store {
|
||||
Store::new(PathBuf::from("/"), None).unwrap()
|
||||
|
|
|
@ -38,7 +38,7 @@ pub mod result {
|
|||
pub type Result<T> = RResult<T, DateTimeRangeError>;
|
||||
}
|
||||
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
use libimagerror::into::IntoError;
|
||||
use self::result::Result;
|
||||
|
||||
|
@ -69,9 +69,9 @@ impl DateTimeRange {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
use chrono::naive::datetime::NaiveDateTime;
|
||||
use chrono::naive::date::NaiveDate;
|
||||
use chrono::naive::time::NaiveTime;
|
||||
use chrono::naive::NaiveDateTime;
|
||||
use chrono::naive::NaiveDate;
|
||||
use chrono::naive::NaiveTime;
|
||||
|
||||
use super::DateTimeRange;
|
||||
|
||||
|
|
Loading…
Reference in a new issue