AscendingCreations / AxumSession

Axum Session Management Libraries that use Sqlx
MIT License
148 stars 33 forks source link

no try_days in chrono::Duration #84

Closed ulvido closed 4 months ago

ulvido commented 5 months ago

axum_session = "0.13.0" EDIT: there is also try_hours error for same file

src/config.rs

image

genusistimelord commented 5 months ago

hmm actually it should not be erroring since chrono Duration has these. https://docs.rs/chrono/latest/chrono/struct.TimeDelta.html#tymethod.try_days https://docs.rs/chrono/latest/chrono/struct.TimeDelta.html#method.try_hours

I am going to say something must be wrong with your compiler or cache.