tera icon indicating copy to clipboard operation
tera copied to clipboard

Replace dependency on chrono

Open kolbma opened this issue 3 years ago • 7 comments

Not sure if you aware of...

https://github.com/chronotope/chrono/issues/602#issuecomment-940218484
https://github.com/kube-rs/kube-rs/issues/650

kolbma avatar Jan 20 '22 14:01 kolbma

Looks like a new release for chrono is on its way: https://github.com/chronotope/chrono/issues/674 . A beta and an rc have been published already.

atezet avatar Jul 28 '22 08:07 atezet

chrono v0.4.20 has been released. Let's go!

Xuanwo avatar Aug 04 '22 15:08 Xuanwo

I took the liberty to open a PR https://github.com/Keats/tera/pull/741

atezet avatar Aug 04 '22 18:08 atezet

I think replacing chrono with time (of which chrono is derived) makes sense, a single update doesn't make it maintained.

nullr0ute avatar Oct 31 '22 11:10 nullr0ute

There have been like 75 commits since 0.4.20. The plan to make dependencies optional using feature flags sounds way more useful

atezet avatar Oct 31 '22 12:10 atezet

There have been like 75 commits since 0.4.20. The plan to make dependencies optional using feature flags sounds way more useful

Or move to something like the time crate which chrono uses and seems to be better maintained.

nullr0ute avatar May 10 '23 16:05 nullr0ute

FWIW, as of now, the chrono crate has been picked up by reliable maintainers. I'm not convinced that switching out its use in Tera would have any advantages at all.

robjtede avatar Jul 09 '23 00:07 robjtede