time breaking changes
cargo27 curated breaking changes across major versions of time. Use this as a migration checklist before bumping dependencies.
- 0.3.16 \u2192 0.3.17breaking
`libc` and `num_threads` are only included as dependencies when needed. They were previously
- 0.3.16 \u2192 0.3.17breaking
`time::format_description::parse_owned`, which returns an `OwnedFormatItem`. This avoids "lifetime
- 0.3.16 \u2192 0.3.17breaking
The amount of code generated by `time::serde::format_description!` is reduced if not all feature
- 0.3.16 \u2192 0.3.17breaking
`cargo test --tests` works with any configuration of feature flags. This occurs by spawning a
- 0.3.16 \u2192 0.3.17breaking
The parser for runtime format descriptions has been rewritten. A side effect of this is that some
- 0.2.26 \u2192 0.3.0api
v0.1 APIs, previously behind an enabled-by-default feature flag
- 0.2.26 \u2192 0.3.0api
Panicking APIs, previously behind a non-default feature flag
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_seconds`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_milliseconds`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_microseconds`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_nanoseconds`
- 0.2.26 \u2192 0.3.0breaking
`Duration::span`
- 0.2.26 \u2192 0.3.0breaking
`Duration::from_std`
- 0.2.26 \u2192 0.3.0breaking
`Duration::to_std`
- 0.2.26 \u2192 0.3.0breaking
`Date::from_ymd`
- 0.2.26 \u2192 0.3.0breaking
`Date::from_yo`
- 0.2.26 \u2192 0.3.0breaking
`Date::from_iso_ywd`
- 0.2.26 \u2192 0.3.0breaking
`Date::with_hms`
- 0.2.26 \u2192 0.3.0breaking
`Date::with_hms_milli`
- 0.2.26 \u2192 0.3.0breaking
`Date::with_hms_micro`
- 0.2.26 \u2192 0.3.0breaking
`Date::with_hms_nano`
- 0.2.26 \u2192 0.3.0breaking
`precise_time_ns`
- 0.2.26 \u2192 0.3.0breaking
`precise_time_s`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_weeks`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_days`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_hours`
- 0.2.26 \u2192 0.3.0breaking
`Duration::num_minutes`
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/time