tectonicdb
tectonicdb copied to clipboard
Bump time from 0.3.4 to 0.3.17
Bumps time from 0.3.4 to 0.3.17.
Release notes
Sourced from time's releases.
v0.3.17
See the changelog for details.
v0.3.16
See the changelog for details.
v0.3.15
See the changelog for details.
v0.3.14
See the changelog for details.
v0.3.13
See the changelog for details.
v0.3.12
See the changelog for details.
v0.3.11
See the changelog for details.
v0.3.10
See the changelog for details.
v0.3.9
See the changelog for details.
v0.3.7
See the changelog for details.
v0.3.6
See the changelog for details.
v0.3.5
See the changelog for details.
Changelog
Sourced from time's changelog.
0.3.17 [2022-11-06]
Changed
- The amount of code generated by
time::serde::format_description!
is reduced if not all feature flags are active.cargo test --tests
works with any configuration of feature flags. This occurs by spawning a subprocess that passes--all-features
.cargo test --doc
works with most combinations of feature flags, including the default. The combination of these changes means that crater will now run ontime
.libc
andnum_threads
are only included as dependencies when needed. They were previously unconditionally included.Added
time::format_description::parse_owned
, which returns anOwnedFormatItem
. This avoids "lifetime hell", where all your structs now need a lifetime because a single field has one. Note that when possible, the borrowed format item (just calledFormatItem
) is still preferred, as it has significantly fewer allocations. The newOwnedFormatItem
is usable for both formatting and parsing, as you would expect.Compatibility
- The parser for runtime format descriptions has been rewritten. A side effect of this is that some errors have slightly changed. No existing API has been altered, so this is not a breaking change. However, you may notice different errors, which are hopefully better! The parser for compile-time format descriptions has not yet been swapped out. If you notice any bugs, please file an issue.
0.3.16 [2022-10-24]
Changed
- The minimum supported Rust version is now 1.60.0.
- The
serde-well-known
feature flag is deprecated. The necessary features for an item to be enabled are indicated in documentation.- Feature gates have been loosened for well-known formats.
Added
const
s can now be provided as the format description fortime::serde::format_description!
. Theconst
must be of type&[FormatItem<'_>]
, which is what is returned by thetime::macros::format_description!
macro.const TIME_FORMAT_ALT: &[FormatItem<'_>] = time::macros::format_description!("[hour]:[minute]"); time::serde::format_description!(time_format_alt, Time, TIME_FORMAT_ALT);
Compatibility
... (truncated)
Commits
d97594b
0.3.17 release88f5c13
Fix concurrency for GitHub actionse5e2a60
Update lints27ea0d4
Useparse_owned
in tests4887aa7
Addformat_description::parse_owned
2ba92f6
Configure codecov2cba2ef
Add tests forOwnedFormatItem
4d18c08
Implement owned format descriptions139aba1
MoveFormatItem
definition to its own modulee4b40ad
Remove extraneous debug call- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)