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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Compatibility notes
Putting some functionality behind an alloc feature to improve no-std support (in #341) means that if you were relying on chrono with no-default-featuresand using any of the functions that require alloc support (i.e. any of the string-generating functions like to_rfc3339) you will need to add the alloc feature in your Cargo.toml.
Improvements
DateTime::parse_from_str is more than 2x faster in some cases. (@michalsrb#358)
Significant improvements to no-std and alloc support (This should also make many format/serialization operations induce zero unnecessary allocations) (@CryZe#341)
Features
Functions that were accepting Iterator of Items (for example format_with_items) now accept Iterator of Borrow<Item>, so one can use values or references. (@michalsrb#358)
Add built-in support for structs with nested Option<Datetime> etc fields (@manifest#302)
Internal/doc improvements
Use markdown footnotes on the strftime docs page (@qudlibetor #359)
Migrate from try! -> ? (question mark) because it is now emitting deprecation warnings and has been stable since rustc 1.13.0