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
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());
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 12 updates:
4.5.3
4.5.4
0.5.10
0.9.3
3.1.0
3.1.1
1.36.0
1.37.0
0.4.35
0.4.37
1.0.114
1.0.115
1.1.0
1.2.0
4.5.3
4.5.4
1.0.10
1.0.11
2.7.1
2.7.2
0.2.13
0.2.14
0.8.2
0.8.3
Updates
clap
from 4.5.3 to 4.5.4Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
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
syscall-numbers
from 3.1.0 to 3.1.1Updates
tokio
from 1.36.0 to 1.37.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
9c337ca
chore: prepare Tokio v1.37.0 (#6435)e542501
io: document cancel safety ofAsyncBufReadExt::fill_buf
(#6431)4601c84
stream: addnext_many
andpoll_next_many
toStreamMap
(#6409)deff252
util: document cancel safety ofSinkExt::send
andStreamExt::next
(#6417)4565b81
sync: add arwlock()
method to ownedRwLock
guards (#6418)3ce4720
sync: addis_closed
,is_empty
, andlen
to mpsc receivers (#6348)8342e4b
util: assert compatibility betweenLengthDelimitedCodec
options (#6414)4c453e9
readme: add description about benchmarks (#6425)1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)baad270
sync: add Semaphore example for limiting the number of outgoing requests (#6419)Updates
chrono
from 0.4.35 to 0.4.37Release notes
Sourced from chrono's releases.
Commits
7d62045
Prepare 0.4.376857d00
Hide re-export ofLocalResult
in docs9e22e48
SwapMappedLocalTime
andLocalResult
type aliasca3c3b6
Prepare 0.4.361850198
RevertTimeDelta
deprecationse05ba8b
AddMappedLocalTime::and_then
3adfd88
Main documentation: simplify links and reflow text1e8df65
Rustfmt doc comments1b57859
Run doctests withalloc
feature if possible6f2c7cc
Use different method to run feature-dependent doctestsUpdates
serde_json
from 1.0.114 to 1.0.115Release notes
Sourced from serde_json's releases.
Commits
b1ebf38
Release 1.0.115c3dc153
Merge pull request #1119 from titaniumtraveler/pr218770b
Explicitly install a Rust toolchain for cargo-outdated job840da8e
Fix missing backticks in doc comments3a3f61b
Temporarily disable miri on doctests4a0be88
Format regression tests with rustfmtd2dbbf7
Ignore dead code lint in tests8e7b37b
Merge pull request #1118 from serde-rs/transparenta25f6c6
Remove conditional on repr(transparent)fedf834
Ignore non_local_definitions false positive in testUpdates
autocfg
from 1.1.0 to 1.2.0Commits
c10bc17
Merge pull request #57 from cuviper/release-1.2.01c029e4
Fixclippy::needless_borrows_for_generic_args
8fbf203
Release 1.2.07f3e58b
Merge pull request #56 from cuviper/wrappers1ca2af8
SupportRUSTC_WRAPPER
andRUSTC_WORKSPACE_WRAPPER
cf17815
Merge pull request #27 from cuviper/set_no_std32c1170
Use consistent verb form in docs3c2cf0e
Add getterno_std()
and setterset_no_std(bool)
5e07f6a
Merge pull request #55 from cuviper/farewell-bors8717f69
Add a summary CI jobUpdates
clap_derive
from 4.5.3 to 4.5.4Release notes
Sourced from clap_derive's releases.
Changelog
Sourced from clap_derive's changelog.
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
itoa
from 1.0.10 to 1.0.11Release notes
Sourced from itoa's releases.
Commits
8f39203
Release 1.0.11eeca57d
Touch up commentsea29bbd
Merge pull request #42 from anforowicz/more-granular-unsafe-blocks526d4e4
Explicitly install a Rust toolchain for cargo-outdated jobfde7fa5
More granularunsafe
blocks.d5e45f2
Temporarily disable miri on doctestsUpdates
memchr
from 2.7.1 to 2.7.2Commits
20ef11f
2.7.21e4b8a8
wasm32: require 'simd128' to be enabled at compile timee02697b
ci: bump actions/checkout to v4b12ad6d
ci: reintroduce x86-64 test for non-SSE environment21def52
style: fix dead_code lint14823b4
ci: remove x86-64 test for non-SSE environmente1c10c5
benchmarks: add stringzilla to appropriate definitions328df56
benchmarks: add 'stringzilla'cedf318
benchmarks: add measurements for memchr 2.7 on aarch64d419718
benchmarks: add measurements for memchr 2.7 on x86-64Updates
pin-project-lite
from 0.2.13 to 0.2.14Release notes
Sourced from pin-project-lite's releases.
Changelog
Sourced from pin-project-lite's changelog.
Commits
c55cf7b
Release 0.2.14a84a49b
Update changelog0d11263
Document PinnedDrop (#83)1ec31c8
Update comments in .rustfmt.tomlae4f2d7
Fix clippy::mixed_attributes_style warningc12376d
ci: Use taiki-e/checkout-action action7334cd9
Ignore more lints at workspace levelcf96a13
tidy: Use yq via venvd1d862e
tidy: Check TOML format170c158
Revert "Revert "Revert "Disable dependabot update for Github Actions"""Updates
regex-syntax
from 0.8.2 to 0.8.3Commits
d895bd9
regex-syntax-0.8.3f5d0b69
syntax: accept{,n}
as an equivalent to{0,n}
aa2d8bd
1.10.4088d7f3
api: add Cow guarantee to replace APIa5ae351
regex-automata-0.4.69cf4a42
automata: fix bug where reverse NFA lacked an unanchored prefix10fe722
style: clean up some recent lint violationsd7f9347
regex-automata-0.4.507ef7f1
automata: make additional prefileter metadata public0c09903
1.10.3Dependabot 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