This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.
In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.
Only package files needed for building and testing (#1554)
Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.37
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.
As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.
See also the release notes of chrono 0.4.36 from yesterday for the yanked release.
v0.4.36
This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.
New is the DateTime::with_time() method. As an example of when it is useful:
use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());
JSON support is moved into a separate crate protobuf-json-mapping
Generated code for well known types is more similar to regular protobuf now
(well known type modules are now placed as is in well_known_types module instead of being flattened).
file_descriptor_proto() function is private now in generated code.
Descriptor can be obtained by calling file_descriptor().proto().
file_descriptor() now returns &'static FileDescriptor
Hide UnknownValues from public API (keep UnknownFields)
[3.0.0-alpha.13] - 2022-05-01
More efficient reflective operations
Fewer internals exposed from public API (e.g. ProtobufType is no longer public)
Bumps the crates-io group with 48 updates:
1.0.47
1.0.82
0.10.3
0.19.2
0.11.5
0.11.14
0.4.19
0.4.38
0.4.3
0.4.4
0.1.2
0.2.1
0.3.2
0.4.0
0.1.36
0.1.109
0.3.26
0.3.36
1.3.4
1.5.0
2.22.1
3.4.0
0.5.2
0.7.2
2.22.1
2.28.0
0.5.8
0.5.12
0.11.10
0.11.27
0.2.5
0.3.3
0.2.14
0.2.18
0.2.1
0.4.0
1.0.74
1.0.116
0.10.60
0.10.64
0.8.2
0.8.4
1.13.0
1.16.0
1.36.0
1.37.0
0.3.17
0.3.30
0.6.2
0.9.1
1.0.132
1.0.198
0.4.10
0.8.12
0.13.0
0.21.7
1.2.1
2.5.0
2.1.0
2.3.1
0.1.5
0.2.0
1.7.2
2.2.2
0.3.2
0.5.0
1.2.3
2.0.1
1.4.1
1.10.4
0.5.0
1.0.1
0.6.13
1.0.35
0.4.30
1.0.78
0.4.13
0.6.4
0.15.44
2.0.50
0.2.4
0.3.0
0.8.13
0.9.34+deprecated
1.6.0
1.7.0
1.0.86
1.0.94
0.10.16
0.14.28
0.2.1
0.3.0
0.6.5
0.8.2
0.2.0
0.4.0
Updates
anyhow
from 1.0.47 to 1.0.82Release notes
Sourced from anyhow's releases.
... (truncated)
Commits
074bdea
Release 1.0.8247a4fbf
Merge pull request #360 from dtolnay/docensurec5af1db
Make ensure's doc comment apply to the cfg(not(doc)) macro toobebc7a2
Revert "Temporarily disable miri on doctests"f2c4db9
Update ui test suite to nightly-2024-03-31028cbee
Explicitly install a Rust toolchain for cargo-outdated job7a4cac5
Merge pull request #358 from dtolnay/workspacewrapper939db01
Apply RUSTC_WORKSPACE_WRAPPER9f84a37
Temporarily disable miri on doctests45e5a58
Ignore dead code lint in testUpdates
cargo_toml
from 0.10.3 to 0.19.2Commits
Updates
serde_bytes
from 0.11.5 to 0.11.14Release notes
Sourced from serde_bytes's releases.
Commits
5ea2adb
Release 0.11.14118e4b8
Merge pull request #48 from sosthene-nitrokey/deserializing-bare-array-ref0ef6a89
Implement deserializing &'de [u8; N]76caff6
Release 0.11.13bd341f2
Merge pull request #47 from serde-rs/nostd-deserialize1772017
Unconditional serde_bytes::deserialize0d92965
Merge pull request #46 from serde-rs/refbytearraye1f53b2
Support deserializing &'de [u8; N]677457b
Ignore ptr_as_ptr pedantic clippy lint7c664c0
Merge pull request #45 from serde-rs/copybytearrayUpdates
chrono
from 0.4.19 to 0.4.38Release notes
Sourced from chrono's releases.
... (truncated)
Changelog
Sourced from chrono's changelog.
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Updates
num-bigint
from 0.4.3 to 0.4.4Changelog
Sourced from num-bigint's changelog.
Commits
f09eee8
Merge #2804e6a01f
Release 0.4.444c87c1
Limit pre-allocation from serde size hints2cea7f4
Merge #278a87619d
clippy: Fix auto deref warnings.cf5cc5b
clippy: Suppress manual_range_contains.61df956
clippy: Fix non-minimal-cfg544691f
clippy: Remove needless borrows.dc9a828
clippy: Remove unnecessary casts.9134523
Merge #277Updates
pkix
from 0.1.2 to 0.2.1Release notes
Sourced from pkix's releases.
Commits
Updates
yasna
from 0.3.2 to 0.4.0Changelog
Sourced from yasna's changelog.
Commits
8b53762
Merge pull request #59 from est31/release_0_4_08b8ed72
Release 0.4.083d7d8b
Changelog for 0.4.0039fdae
Merge pull request #58 from est31/modernizeba288bd
Intra-doc-link-ify2c77a5a
Merge pull request #57 from est31/no_stdd8c95b2
Add std feature and add #![no_std]d35001f
Replace per-char is_ascii check with whole-slice is_ascii check27dcb31
Merge pull request #56 from est31/modernizea520ec4
Add -D warnings to RUSTFLAGSUpdates
compiler_builtins
from 0.1.36 to 0.1.109Commits
7240849
Merge pull request #589 from Amanieu/release-0.1.10958e8753
Release 0.1.109db7b5db
Merge pull request #577 from Amjad50/weak_link_libm4d105c9
Do not include math intrinsics for windows and apple targets018616e
Always have math functions but withweak
linking attribute if we can63976cb
Merge pull request #586 from RalfJung/lib.miri.rsb936822
add lib.miri.rs file for miri-test-libstd3f47913
Merge pull request #588 from jeremyd2019/x86-add-__chkstka285b0a
Add __chkstk on i686-pc-windows-gnu.d8ab794
Merge pull request #575 from kleisauke/sync-chkstkUpdates
time
from 0.3.26 to 0.3.36Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
... (truncated)
Commits
3c3c546
pub use
instead ofpub type
re-exporting266178d
Update code coverage CI131049e
v0.3.35 release9c15ee3
Permit leap seconds when parsing ISO 8601d279d8d
Fix invalid offset hour diagnostic testf04a28f
Eliminate unreachable branch06a096d
RenameFormatItem
toBorrowedFormatItem
fd664ee
Include diagnostics regressionb8d09a7
Address nightly lints330865a
Update deny.tomlUpdates
byteorder
from 1.3.4 to 1.5.0Changelog
Sourced from byteorder's changelog.
Commits
ec068ee
1.5.00cfb84d
cargo: a few small fixups62b0e31
changelog: add a note about it not being updateddd41ee2
msrv: bump to Rust 1.6052cc70c
safety: verify alignment requirements of floats vs intsc0b6678
impl: remove unsafe code from read_uint and read_uint128 methods1e2d8b0
impl: eliminate unsafe_write_num_bytes368cb55
impl: refactor write_slice macro slightlyc01f0fe
impl: eliminate special case checking target_endian3409ee1
perf: convert endianess while reading slice in a single passUpdates
protobuf
from 2.22.1 to 3.4.0Changelog
Sourced from protobuf's changelog.
... (truncated)
Commits
0617bf6
Bump version to 3.4.0692f0a4
fix: fixes issue #6807769205
Bump version to 3.3.0047844e
Mute warnings4620a1e
Mute warnings0470560
Mute warningsd2133c5
Mute a warning6663ee5
regenerate35c51b2
fix: writing insertion before all derives48cc85e
bugfix: use extra args in parserUpdates
libloading
from 0.5.2 to 0.7.2Commits
Updates
protoc-rust
from 2.22.1 to 2.28.0Changelog
Sourced from protoc-rust's changelog.
... (truncated)
Commits
af93f6e
Bump version to 2.28.0f3195b0
bump version8d83f4f
warnings6efe602
Signal that plugin supports proto3 optional for 2.27322fd81
Bump version to 2.28.0-pre4e8ddbf
Mark protoc-bin as publish=falsea3dc276
Switch protoc-bin-vendored to version 33bce22e
Lint08f1777
Regenerate CIe315179
Do not rely on git submodulesUpdates
crossbeam-channel
from 0.5.8 to 0.5.12Release notes
Sourced from crossbeam-channel's releases.
Commits
53536a9
Prepare for the next release86b6bb8
Fix race between block initialization and receiver disconnection (#1084)9ed9021
Always set #![no_std] and remove redundant importsb76ad9e
Update release instructions docsf724f91
Update no_atomic.rs9c3182a
Prepare for the next release35a55d2
Remove dependency on cfg-if0935295
epoch: Remove unused autocfg dependencye02133b
Use const thread_local5a15fc2
More correct buffer allocationUpdates
reqwest
from 0.11.10 to 0.11.27Release notes
Sourced from reqwest's releases.
... (truncated)
Changelog
Sourced from reqwest's changelog.
... (truncated)
Commits
cf69fd4
v0.11.27d0d2b47
docs: add note about sponsors/support2fe53c5
refactor: Migrate trust-dns to hickory-dns6904889
(wasm) fix: Form::text on wasm setting octet-stream mime type and file name. ...54bb709
v0.11.26d334800
Revert "fix: Patchsystem-configuration
version (#2130)" (#2172)c7940c6
revert: hyper v1 upgrade (for now)e319263
Fix missing tokio/io-util (#2168)037111f
feat: Allow binding interface (#2163)bfc54fc
feat: Add http2 cargo feature (#2162)Updates
num-derive
from 0.2.5 to 0.3.3Changelog
Sourced from num-derive's changelog.
Commits
61a6e52
Merge #41b968aa7
Release 0.3.3@dependabot help
Looks like these dependencies are updatable in another way, so this is no longer needed.