fix(deps): update rust#295
Open
bootc-bot[bot] wants to merge 8 commits into
Open
Conversation
Contributor
Author
|
Signed-off-by: bootc-bot[bot] <225049296+bootc-bot[bot]@users.noreply.github.com>
9f89eae to
397d12a
Compare
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
In quick-xml 0.41, BytesText::unescape() was removed. Replace with the new two-step approach: BytesText::decode() to get the decoded string, followed by quick_xml::escape::unescape() to resolve XML entity references. Assisted-by: AI Signed-off-by: John Eckersberg <jeckersb@redhat.com>
In rand 0.10, sample_iter() and random_range() were moved from the Rng trait to the new RngExt trait. Assisted-by: AI Signed-off-by: John Eckersberg <jeckersb@redhat.com>
In sha2 0.11, the output of finalize() changed from generic-array GenericArray to hybrid-array Array, which no longer implements fmt::LowerHex. Format the hash by iterating over bytes individually. Assisted-by: AI Signed-off-by: John Eckersberg <jeckersb@redhat.com>
The CommandRunExt::run() method was split into run_inherited() and run_capture_stderr(). The old run() captured stderr for inclusion in error messages on failure, so run_capture_stderr() is the equivalent replacement. Assisted-by: AI Signed-off-by: John Eckersberg <jeckersb@redhat.com>
In zlink 0.5, the #[zlink::service] macro now generates introspection for method return types in addition to input parameters. Add the zlink::introspect::Type derive to all reply structs. Assisted-by: AI Signed-off-by: John Eckersberg <jeckersb@redhat.com>
Assisted-by: AI Signed-off-by: John Eckersberg <jeckersb@redhat.com>
Collaborator
|
Added commits to deal with various breaking changes in the updates |
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.100→1.0.10393b22f4→547687193b22f4→54768711.2.1→1.2.41.0.3→1.0.40.4.42→0.4.454.5.48→4.6.10.2.20→0.3.07.2.1→7.2.20.2.34→0.2.362.9.0→2.11.05.0→6.00.3.31→0.3.320.17→0.182.0.6→2.0.70.14.0→0.15.00.2.176→0.2.1860.3.35→0.3.360.29→0.316.1→8.00.8.2→0.10.01.0.101→1.0.1060.5→0.60.36→0.411.0.41→1.0.460.9→0.101.11.3→1.12.40.12→0.131.1.2→1.1.41.0.145→1.0.1500.10→0.111→21.5→2.00.26→0.282.0.106→2.0.1183.23.0→3.27.03.23.0→3.27.01.0→2.01.47.1→1.52.30.8→1.00.1.41→0.1.440.3.20→0.3.231.18.1→1.23.40.5.1→0.5.4=0.5.1→=0.5.47.0→8.00.9→0.110.4→0.5Release Notes
dtolnay/anyhow (anyhow)
v1.0.103Compare Source
Error::downcast_mut(#451, #452)v1.0.102Compare Source
v1.0.101Compare Source
camino-rs/camino (camino)
v1.2.4Compare Source
Added
Methods to convert between
Box<Utf8Path>andBox<Path>:From<Box<Utf8Path>> for Box<Path>(as of release, not documented due to rust-lang/rust#158466).Utf8Path::into_std_boxed_path(self: Box<Self>)Utf8Path::from_boxed_path(path: Box<Path>)TryFrom<Box<Path>> for Box<Utf8Path>Thanks nicopap for your first contribution!
v1.2.3Compare Source
Performance improvements
Utf8Path::hashnow delegates tostd::path::Path::hash, resulting in hashing requiring ~2x fewer instructions. Thanks stormslowly for your first contribution!v1.2.2Compare Source
Added
On Rust 1.91 and above:
Utf8PathBuf::add_extensionUtf8Path::file_prefixUtf8Path::with_added_extensionUtf8PathBuf::newis a const fn.rust-lang/cfg-if (cfg-if)
v1.0.4Compare Source
cfg(true)andcfg(false)(#99)chronotope/chrono (chrono)
v0.4.45: 0.4.45Compare Source
What's Changed
v0.4.44: 0.4.44Compare Source
What's Changed
Cargo.tomlcontents by @coryan in #1772v0.4.43: 0.4.43Compare Source
What's Changed
NaiveDate::abs_diffby @Kinrany in #1752clap-rs/clap (clap)
v4.6.1Compare Source
Fixes
v4.6.0Compare Source
Compatibility
v4.5.61Compare Source
Internal
v4.5.60Compare Source
Fixes
v4.5.59Compare Source
Fixes
Command::ignore_errorsno longer masks help/version on subcommandsv4.5.58Compare Source
v4.5.57Compare Source
Fixes
.value_terminator("--")caused problems with an argument with.last(true)v4.5.56Compare Source
Fixes
v4.5.55Compare Source
Fixes
value_terminator("--")and escapes (--) where./foo -- barmeans the first arg is empty, rather than escaping future argsv4.5.54Compare Source
Fixes
[default]to its own paragraph whenPossibleValue::helpis present in--helpv4.5.53Compare Source
Features
default_values_if,default_values_ifsv4.5.52Compare Source
Fixes
args_conflicts_with_subcommandsconflicts with anArgGroupv4.5.51Compare Source
Fixes
ArgAction::Countv4.5.50Compare Source
Features
CowwhereStringand&strare acceptedv4.5.49Compare Source
Fixes
nukesor/comfy-table (comfy-table)
v7.2.2Compare Source
Fix
rodrimati1992/const_format_crates (const_format)
v0.2.36Breaking change: bumped Minimum Supported Rust Version to Rust 1.71. This change is motivated by
quoteincreasing its MSRV to 1.71.Now the
"rust_1_64"feature is effectively always enabled, so these items are always enabled:const_format::str_splitDeprecated these items because their replacements now take constant time to run:
const_format::fmt::StrWriter::as_bytes_alt: superceeded byas_bytesconst_format::fmt::StrWriter::as_str_alt: superceeded byas_strconst_format::fmt::StrWriterMut::as_bytes_alt: superceeded byas_bytesconst_format::fmt::StrWriterMut::as_str_alt: superceeded byas_strconst_format::utils::slice_up_to_len_alt: superceeded byslice_up_to_lenChanged these methods from being conditionally const (by requiring the
"rust_1_64"feature to be const) to being unconditionally const:const_format::fmt::StrWriter::as_bytesconst_format::fmt::StrWriter::as_strconst_format::fmt::StrWriterMut::as_bytesconst_format::fmt::StrWriterMut::as_strChanged this method to be
const:const_format::AsciiStr::as_strFixed nightly 2026-04-09 compatibility when
cargo update -Z minimal-versionsis used by bumpingkonstinternal dependency to"0.2.20"versionv0.2.35Breaking change: bumped Minimum Supported Rust Version to Rust 1.60. This change is motivated by
quoteincreasing its MSRV to 1.60.ia0/data-encoding (data-encoding)
v2.11.0Compare Source
v2.10.0Compare Source
rust-lang/futures-rs (futures-util)
v0.3.32Compare Source
ready!macro in favor ofstd::task::ready!added in Rust 1.64 (#2925)pin_mut!macro in favor ofstd::pin::pin!added in Rust 1.68 (#2929)FuturesOrdered::clear(#2927)mpsc::*Receiver::recv(#2947)mpsc::*Receiver::try_recvand deprecatempsc::*Receiver::::try_next(#2944)FusedStreamforsink::With(#2948)no_stdsupport forshared(#2868)Mutex::new()const (#2956)#[clippy::has_significant_drop]to guards (#2967)pin-utils(#2929)num_cpus(#2946)console-rs/indicatif (indicatif)
v0.18.6Compare Source
What's Changed
v0.18.5Compare Source
What's Changed
div_duration_f64by @ChrisDenton in #792ProgressDrawTarget.is_stderr()forMultiProgressby @kojiishi in #803v0.18.4Compare Source
What's Changed
v0.18.3Compare Source
What's Changed
v0.18.2Compare Source
What's Changed
v0.18.1Compare Source
What's Changed
v0.18.0Compare Source
Unfortunately 0.17.12 had to be yanked because the console upgrade was a semver-incompatible change. Rerelease as 0.18.0 instead.
What's Changed
v0.17.12Compare Source
What's Changed
HumanFloatCountvalues by @ReagentX in #696ProgressStyleenable/disable colors based on draw target by @tonywu6 in #699dtolnay/indoc (indoc)
v2.0.7Compare Source
indoc! {c"..."},indoc! {cr"..."}(#67)rust-itertools/itertools (itertools)
v0.15.0Compare Source
Breaking
Positionas struct instead of enum (#1042, #1043)all_equal_value's error type (#1032)Added
*_with_hasheradaptors (#1007)Changed
Clonebounds fromtuple_combinationsandarray_combinations(#1011)must_useforcollect_vec(#1009)izip!temporary friendly (#1021)array_combinations_with_replacement(#1033)Debugfor remaining public types (#1038)ExactlyOneError::count(#1046)PeekingNextfor more types, in particularvec::IntoIter(#1059, #1073)PadUsing::next_back(#1082)[circular_]array_windows, deprecatetuple_windows(#1086)tuple_combinations(replaced byarray_combinations) (#1085)Notable Internal Changes
into_group_mapcode more idiomatic (#1027)rust-lang/libc (libc)
v0.2.186Compare Source
Added
KEVENT_FLAG_*constants (#5070)PR_SET_MEMORY_MERGEandPR_GET_MEMORY_MERGE(#5060)Changed
v0.2.185Compare Source
Added
espidf_picolibccfg for picolibcO_*flag values (#5035)sprintf,snprintf, and thescanffamily (#5024)Fixed
time64types from musl symbol redirects (#5040)POLLconstants fromc_shorttoc_int(#5045)v0.2.184Compare Source
MSRV
This release increases the MSRV of
libcto 1.65. With this update, you can now always use thecore::ffi::c_*types withlibcdefinitions, sincelibchas been changed to reexport fromcorerather than redefining them. (This usually worked before but had edge cases.)(#4972)
Added
IP_MINTTLto bsd (#5026)TIOCM_DSR(#5031)xfilestructe and file descriptor types (#5002)struct ethhdr(#4239)struct ifinfomsg(#5012)max_align_tfor riscv64 (#5029)CLOCK_constants (#5020)_SC_HOST_NAME_MAX(#5004)flockandF_*LCKconstants (#4043)_SC_*sysconf constants (#5023)Deprecated
The remaining fixed-width integer aliases,
__uint128_t,__uint128,__int128_t, and__int128,have been deprecated. Use
i128andu128instead. (#4343)Fixed
DT_*constants (#5034)RTLD_NOLOAD, some TCP constants (#5025)Padding::new(<zeroed>)rather thanPadding::uninit()(#5036)Changed
struct ptrace_syscall_info(#4966)core::ffiinteger types rather than redefining (#5015)F_DUPFD,IP, andTCPconstants to match relibc (#4990)v0.2.183Compare Source
Added
SOMAXCONN(#4993)name_to_handle_atandopen_by_handle_at(#4988)kinfo_file,kinfo_pcb, and related constants (#4985)kinfo_fileand related constants (#4991)Defaultfortimevalandtimespec(#4976)Fixed
time_tsupport andmusl_v1_2_3(#4992)Padding(#4997)sigaction.sa_flagstoc_int(#4986)blkcnt_ttype (#4994)v0.2.182Compare Source
Added
tgkill(#4970)RENAME_NOREPLACE(#4968)renameat2(#4968)v0.2.181Compare Source
Added
MADV_ZERO(#4924)makedev,major, andminor(#4928)PTRACE_SET_SYSCALL_INFO(#4933)max_align_t(#4927)_CS_PATH(#4956)ppoll(#4957)Fixed
dev_t(#4928)tc{g,s}etattr(#4938)cf{g,s}et{i,o}speedon mips{32,64}r6 (#4938)ptrace_thread_state(#4947)PTHREAD_MUTEX_{NORMAL, RECURSIVE}(#4943)Changed
SO_*constants (#4937)v0.2.180Compare Source
Added
Fixed
CMSG_NXTHDR(#4903)CMSG_NXTHDR(#4903)mcontexttype definitions (#4886)__SIZEOF_PTHREAD_COND_Ton non-L4Re uclibc (#4915)netlinkmodule to resolve build errors (#4915)v0.2.179Compare Source
With this release, we now have unstable support for 64-bit
time_ton 32-bitplatforms with both Musl and Glibc. Testing is appreciated!
For now, these can be enabled by setting environment variables during build:
Note that the exact configuration will change in the future. Setting the
MUSL_V1_2_3variable also enables some newer API unrelated totime_t.Added
XCASE(#4847)NAME_MAX(#4888)AT_EXECVE_CHECK(#4422)SUN_LENmacro (#4269)getitimerandsetitimer(#4890)pthread_tryjoin_nandpthread_timedjoin_np(#4887)time_ton 32-bit platforms (#4463)LINK_STATE_*definitions fromsys/net/if.h(#4751)Fixed
cf{g,s}et{i,o}speed(#4882)pthread(#4479)CPU_SETSIZEon musl 1.2+ (#4865)stat/stat64(#4463)SIGSTKSZ/MINSIGSTKSZ(#4884)PT_{GET,SET}FPREGS,_REG_TIPDR, and_REG_{LR,SP}(#4899)if_msghdralignment (#4902)siginfo_tlayout on 32-bit platforms (#4904)pthread_spin_tto allow arch redefinition. (#4899)Changed
pthreadstruct fields private (#4876)Paddingtype (#4862)Removed
RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64(#4865)v0.2.178Compare Source
Added
issetugid(#4744)__psw_t/fprefset_t/*context_t(#4726)AT_HWCAP{3,4}(#4734)eventfd(#4830)unistd.h(#4811)cfmakeraw(#4704)cfsetspeed(#4704)getresgidandgetresuid(#4752)setresgidandsetresuid(#4752)select.h,stat.h,poll.h,ttycom.h,utsname.h,resource.h,mman.h,udp.h,in.h,in6.h,if.h,fnmatch.h, andsioLibCommon.h(#4781)Deprecated:
TIOCREMOTE(#4764)Fixed:
Note that there were a large number of fixes on NetBSD for this
libcrelease, some of which include minor breakage.EWOULDBLOCKto make it an alias ofEAGAIN(#4790)unnecessary_transmuteswarnings (#4780)SF_SETTABLE(#4764)mcontext_t.mc_fpregs(#)gethostname(#4773)NFT_MSG_MAX(#4761)repr(align(8))forcanxl_frame(#4760)eventfdargument names match OS docs/headers (#4830)ipc_perm, split from OpenBSD asipc.rs(#4782)kinfo_vmentry.kve_path(#)uucred.cr_ngroupsfrominttoshort(#4782)kevent.udata(#4782)mcontext_t.__fpregs(#4782)PT_SUSPEND(#4782)sockaddr_dl.sdl_datafrom 12 to 24 (#4782)if_.rs, fix the definition ofifreq(#4782)time.rs, fix the values ofCLOCK_*_CPUTIME_ID(#4782)timex.rs(#4782)types.rs, correct the definition oflwpid_t(#4782)utmp_.rs, correct the definition oflastlog(#4782)utmpx_.rs, correct utmpx definitions (#4782)_cpusetan extern type (#4782)mcontexttypes (#4782)pid_t(#4825)__wasilibc_register_preopened_fd(#4837)Changed
thread_local(#3653)ucontext_tand unskip its tests (#4760)L_tmpnamandTMP_MAXto the UCRT value (#4566)Removed
SIGSTKFLT(#4749)statvfs.f_sparenon-public (#4782)*_MAXIDconstants andAT_SUN_LDPGSIZE(#4782)IFF_NOTRAILERS(#4782)vm_size_t(#4782)v0.2.177Compare Source
Added
TIOCGETA,TIOCSETA,TIOCSETAW,TIOCSETAFconstants (#4736)pthread_cond_timedwait_relative_np(#4719)_CS_PATHconstant (#4738)SIGEMTfor mips* and sparc* architectures (#4730)elf_aux_info(#4729)wcsnlen(#4721)Changed
dtolnay/linkme (linkme)
v0.3.36Compare Source
nix-rust/nix (nix)
v0.31.3Compare Source
Added
ioctlfor Cygwin([#̴
Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.