You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For one, this updates the indirect dependency `nom` from 5.x to 7.x,
which gets rid of a future incompatibility warning produced by the
compiler:
warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 67`
But to achieve that I could have updated `iso8601-duration` to 0.2.
However, the 0.2 version makes conversion into an `std::time::Duration`
weirdly hard. And I'm also confused by the fields being `f32` for no
reason I can think of. Additionally, the crate has very few users and
there is no changelog. So in general, the `iso8601` crate looks much
better. Even if it gives us date parsing, which we don't need, I think
it's still a better option.
Unfortunately, the new crate only has millisecond precision whereas the
previous one could store seconds as `f32`.
0 commit comments