The Advice struct was split into two enums: Advice and UncheckedAdvice.
Advice can be passed to safe advise and advise_range methods.
And UncheckedAdvice can be passed to unsafe unchecked_advise
and unchecked_advise_range methods.
@adamreichold
[0.8.0] - 2023-09-25
Changed
The Advice type is a struct and not an enum now.
@adamreichold
Fixed
Some of the Advise variants were unsound and now require unsafe to be constructed.
@adamreichold
[0.7.1] - 2023-06-24
Fixed
Mapping beyond 4GB offset on 32 bit glibc. Linux-only.
@lvella
[0.7.0] - 2023-06-08
Added
Mmap::remap, MmapMut::remap and MmapRaw::remap. Linux-only.
@Phantomical
Advice::PopulateRead and Advice::PopulateWrite. Linux-only.
@Jesse-Bakker
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.
Added an optional, off-by-default dependency on the serde crate. Enabling
this dependency allows you to serialize Bumpalo's collection and box
types. Deserialization is not implemented, due to constraints of the
deserialization trait.
The following functions are const fn on rustc ≥ 1.46:
Date::try_from_ymd
Date::try_from_yo
Time::try_from_hms
Time::try_from_hms_milli
Time::try_from_hms_micro
Time::try_from_hms_nano
An error module has been created where all existing error types are contained. The Error
suffix has been dropped from these types.
An ext module has been created where extension traits are contained.
A util module has been created where utility functions are contained.
error::ComponentRange now implements Copy.
For back-compatibility, all items that were moved to newly-contained modules have been re-exported
from their previous locations (and in the case of the error module, with their previous name).
Fixes
Parsing format::Rfc3339 now correctly handles the UTC offset (#274).
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo-dependencies group with 11 updates:
0.5.10
0.9.3
0.1.18
0.1.19
0.4.37
0.4.38
1.0.81
1.0.82
3.15.4
3.16.0
1.0.91
1.0.94
0.8.33
0.8.34
1.0.79
1.0.80
1.0.35
1.0.36
0.3.34
0.3.36
0.2.17
0.2.18
Updates
memmap2
from 0.5.10 to 0.9.3Changelog
Sourced from memmap2's changelog.
... (truncated)
Commits
5a49e8a
Version bump.1079b61
Fix build on Android.c82f49b
Version bump.faafbfd
Fix formatting.428bb9b
Fix tests.55109c6
Disable huge tables support for freebsd, since it doesn't support them.c173463
Version bump.e5faf13
Fix madvise tests to not assume 4k pages.3c71286
Add huge pages support.f16835d
Version bump.Updates
serde_repr
from 0.1.18 to 0.1.19Release notes
Sourced from serde_repr's releases.
Commits
e2d26d9
Release 0.1.194b32db8
Merge pull request #30 from dtolnay/deprecated376011d
Suppress warning when deriving on deprecated typedd7a48a
Explicitly install a Rust toolchain for cargo-outdated jobUpdates
chrono
from 0.4.37 to 0.4.38Release notes
Sourced from chrono's releases.
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
anyhow
from 1.0.81 to 1.0.82Release notes
Sourced from anyhow's releases.
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
bumpalo
from 3.15.4 to 3.16.0Changelog
Sourced from bumpalo's changelog.
Commits
4eeab88
Bump to version 3.16.0d746a56
add serde serialization support (#210)Updates
cc
from 1.0.91 to 1.0.94Release notes
Sourced from cc's releases.
Commits
0286286
Release cc 1.0.94 (#1034)f83109b
fix xcrun sdk version arg (#1007)4743a72
Release cc-rs 1.0.93 (#1032)e80a19d
Add visionOS support (#1029)f313ff5
Release cc 1.0.92 (#1028)e73d05b
Fix linking with llvm-lib (#1027)Updates
encoding_rs
from 0.8.33 to 0.8.34Commits
a0c5c57
Increment version number to 0.8.348bcba0b
Move a negation to the right place and cargo fmt29668e3
Move a negation to the right placedbf673e
Work around bad SIMD codegen on 32-bit ARM3c96213
Add rust-version to Cargo.toml98f3c6a
Update README598edc8
Port from packed_simd crate to portable_simd feature (aarch64 part)2d198c8
Port from packed_simd crate to portable_simd feature (x86_64 part)9217fd2
Remove the remains of Travis966fc0a
wip memUpdates
proc-macro2
from 1.0.79 to 1.0.80Release notes
Sourced from proc-macro2's releases.
Commits
da51f8d
Release 1.0.80392fa6c
Ignore needless_pass_by_value pedantic clippy lint in test1ff5c1f
Ignore needless_raw_string_hashes pedantic clippy lint in test0c9449e
Import some Literal tests from libproc_macro28c87ad
Add tests of negative literal constructionc61f5db
Add some tests of cstr raw literalsd50dcd9
Merge pull request #450 from dtolnay/cstr70a804b
Add Literal::c_string constructor45730bc
Adjust Literal constructor argument names to match those in libproc_macro26d1d3f
Merge pull request #449 from dtolnay/bytecharUpdates
quote
from 1.0.35 to 1.0.36Release notes
Sourced from quote's releases.
Commits
5d4880c
Release 1.0.361dd7ce7
Merge pull request #273 from dtolnay/doc0bc5d12
Apply doc comment to cfg(not(doc)) macros tooc295f5c
Revert "Temporarily disable miri on doctests"435bd1b
Update ui test suite to nightly-2024-03-31cc3847d
Explicitly install a Rust toolchain for cargo-outdated job6259d49
Temporarily disable miri on doctestsbdb4b59
Update ui test suite to nightly-2024-02-08c2aeca9
Update ui test suite to nightly-2024-01-31376a061
Merge pull request #270 from dtolnay/benchUpdates
time
from 0.3.34 to 0.3.36Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
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
time-macros
from 0.2.17 to 0.2.18Changelog
Sourced from time-macros's changelog.
Commits
e0e3886
0.2.18 release6f12e5d
Fix intra-doc linksb089cea
constify more methods9dc99dc
Fix incorrect parsing of the offset of a RFC-3339 time string (#274)5dc9a4a
Move extension traits to ext module091e76d
Create error module07681c1
Create util modulecf573b8
Resolve some TODOse9cda35
Remove internal prelude34715a5
Better error handling, inference for parsingDependabot 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 show