Skip to content

Update time version #10

@joshcangit

Description

@joshcangit

Update time dependency version

I found a similar issue at time-rs/time#681.

Error out when building dependency time.
/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.20/src/format_description/parse/mod.rs:83:9
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
help: consider giving `items` an explicit type, where the placeholders `_` are specified
83 |     let items: Box<_> = format_items
   |              ++++++++
For more information about this error, try `rustc --explain E0282`.

Other issues also show error when using 1.80.0.
I'm using rustc 1.80.1.

Updating `time` should also update other packages too.
    Updating crates.io index
     Locking 11 packages to latest compatible versions
      Adding deranged v0.3.11
      Adding num-conv v0.1.0
      Adding powerfmt v0.2.0
    Updating proc-macro2 v1.0.51 -> v1.0.86
    Updating quote v1.0.23 -> v1.0.37
    Updating serde v1.0.156 -> v1.0.209
    Updating serde_derive v1.0.156 -> v1.0.209
      Adding syn v2.0.76
    Updating time v0.3.20 -> v0.3.36
    Updating time-core v0.1.0 -> v0.1.2
    Updating time-macros v0.2.8 -> v0.2.18

Switch to chrono

01mf02/jaq#199

Bumping time to v0.3.36 raises the minimum supported Rust version to 1.67.0.
But if you need to support earlier versions, then you might want to switch to chrono.
It supports Rust versions down to 1.61.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions