4 ms·
With Rust, we pulled time out of the standard library before 1.0, specifically because we knew it wasn't up to the task. So if "no library" counts as a "non-bro
by steveklabnik 11y ago
With Rust, we pulled time out of the standard library before 1.0, specifically because we knew it wasn't up to the task. So if "no library" counts as a "non-broken" library...
We still don't have great libraries yet, but they're coming, slowly. Chrono is pretty good.
- shellac 11y ago> With Rust, we pulled time out of the standard library before 1.0, specifically because we knew it wasn't up to the task. This honestly strikes me a very good response. Saddling a still-growing community with sub-par core datatypes is worse than their absence. > So if "no library" counts as a "non-broken" library... Of course if I had phrased my question in terms of the 'first shipped date / time library' then Rust still has a chance to follow this illustrious trajectory for languages (i.e. really mess up). :-)
- kibwen 11y ago> Chrono is pretty good. For purposes of comparison to other libraries, here's a link to Chrono's documentation: https://lifthrasiir.github.io/rust-chrono/chrono/ https://lifthrasiir.github.io/rust-chrono/chrono/