chore(deps): update cargo non-major dependencies#35
Draft
dd-octo-sts[bot] wants to merge 1 commit intomainfrom
Draft
chore(deps): update cargo non-major dependencies#35dd-octo-sts[bot] wants to merge 1 commit intomainfrom
dd-octo-sts[bot] wants to merge 1 commit intomainfrom
Conversation
Author
|
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.98→1.0.1021.0.95→1.0.1020.18→0.231.0.95→1.0.1061.0.40→1.0.450.8.5→0.10.01.11.1→1.12.30.8.1→0.12.00.1.8→0.1.101.0.217→1.0.2281.0.138→1.0.1492.0.100→2.0.1173.14.0→3.26.00.8.19→0.9.00.29.2→0.30.07.0.1→7.0.3Release Notes
dtolnay/anyhow (anyhow)
v1.0.102Compare Source
v1.0.101Compare Source
v1.0.100Compare Source
bail!,ensure!,anyhow!(#426)v1.0.99Compare Source
oli-obk/cargo_metadata (cargo_metadata)
v0.23.1Compare Source
Changed
build_directoryv0.23.0Compare Source
Added
FeatureNameandPackageNamenewtype wrappers.v0.22.0Compare Source
Added
pub fn env_remove<K: Into<OsString>>(&mut self, key: K) -> &mut MetadataCommandtoMetadataCommand.cargo_platformat crate's root module.Changed
caminofrom1.0.7to1.1.10cargo_platformfrom0.2.0to0.3.0derive_builderfrom0.12to0.20semverfrom1.0.7to1.0.26serde_jsonfrom1.0.118to1.0.142serdefrom1.0.136to1.0.219thiserrorfrom2.0.3to2.0.12Dependency'ssourcemember the same type asPackage'ssourcemember:Option<Source>.v0.21.0Compare Source
v0.20.0Compare Source
v0.19.2Compare Source
v0.19.1Compare Source
v0.19.0Compare Source
Added
semvercrate directly.std::ops::Index<&PackageId>forResolve.pub fn is_kind(&self, name: TargetKind) -> booltoTarget.PartialEq,EqandHashforMetadataand its members' types.PackageBuilder.pub fn new(name:version:id:path:) -> SelftoPackageBuilderfor providing all required fields upfront.Changed
1.42.0to1.56.0.parse_streammore versatile by accepting anything that implementsRead.TargetKindandCrateTypeto an enum representation.Removed
BuildMetadataandPrereleasefromsemvercrate..is_lib(…),.is_bin(…),.is_example(…),.is_test(…),.is_bench(…),.is_custom_build(…), and.is_proc_macro(…)fromTarget(in favor of adding.is_kind(…)).Fixed
manifest_pathfield toArtifact. Fixes #187.dtolnay/proc-macro2 (proc-macro2)
v1.0.106Compare Source
Span::byte_range(#530)v1.0.105Compare Source
v1.0.104Compare Source
v1.0.103Compare Source
Literalmethodsstr_value,cstr_value,byte_str_value(#525)v1.0.102Compare Source
v1.0.101Compare Source
v1.0.100Compare Source
Spanmethods on Rust 1.88+:start,end,line,column,file,local_file(#517, #518)v1.0.99Compare Source
v1.0.98Compare Source
'prefix#lifetime(#514, rust-lang/rust#126452)v1.0.97Compare Source
v1.0.96Compare Source
dtolnay/quote (quote)
v1.0.45Compare Source
v1.0.44Compare Source
'r#async(#323)v1.0.43Compare Source
stringify!macro inside generated code (#316)v1.0.42Compare Source
v1.0.41Compare Source
rust-random/rand (rand)
v0.10.0Compare Source
Changes
rand_chachahas been replaced with a dependency onchacha20. This changes the implementation behindStdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones inchacha20instead ofrand_chacha(#1642).IndexedRandom::choose_multiple->sample,choose_multiple_array->sample_array,choose_multiple_weighted->sample_weighted, structSliceChooseIter->IndexedSamplesand fnsIteratorRandom::choose_multiple->sample,choose_multiple_fill->sample_fill(#1632)Fillbe implemented for element types, not sliceable types (#1652)OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)SeedableRng::from_os_rng,try_from_os_rng(#1674)Clonesupport forStdRng,ReseedingRng(#1677)postcardinstead ofbincodeto test the serde feature (#1693)IteratorRandom::samplewhenamountis much larger than iterator size (#1695)os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
IndexedRandom::choose_iter,choose_weighted_iter(#1632)Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)rand::make_rng() -> R where R: SeedableRng(#1734)Removals
ReseedingRng(#1722)small_rng(#1732)v0.9.2Compare Source
Deprecated
rand::rngs::mockmodule andStepRnggenerator ([#1634])Additions
WeightedIndex<usize>(de)serialization ([#1646])v0.9.1Compare Source
Security and unsafe
zerocopydependency fromrand(#1579)Fixes
simd_supportfor recent nightly rust (#1586)Changes
fn rand::seq::index::sample_weightedandfn IndexedRandom::choose_multiple_weightedto return fewer thanamountresults (#1623), reverting an undocumented change ([#1382]) to the previous release.Additions
rand::distr::Alphabeticdistribution. (#1587)rand_core(#1604)v0.9.0Compare Source
Security and unsafe
ReseedingRngandThreadRng. Instead, it is recommended to callThreadRng::reseedon fork. (#1379)zerocopyto replace someunsafecode (#1349, #1393, #1446, #1502)Dependencies
--ignore-rust-versionrand_corev0.9.0 (#1558)Features
stdfeature withoutgetrandomorrand_chacha(#1354)small_rngby default (#1455)rand_chacha; usestd_rnginstead. (#1473)serde1toserde(#1477)getrandomtoos_rng(#1537)thread_rng(#1547)API changes: rand_core traits
RngCore::read_adapterimplementingstd::io::Read(#1267)CryptoBlockRng: BlockRngCore; maketrait CryptoRng: RngCore(#1273)TryRngCore,TryCryptoRng(#1424, #1499)fn SeedableRng::from_rng->try_from_rngand add infallible variantfn from_rng(#1424)fn SeedableRng::from_entropy->from_os_rngand add fallible variantfn try_from_os_rng(#1424)CloneandAsRefto associated typeSeedableRng::Seed(#1491)API changes: Rng trait and top-level fns
rand::thread_rng()torand::rng()and remove from the prelude (#1506)rand::random()from the prelude (#1506)random_iter,random_range,random_bool,random_ratio,fill(#1488)Rng::gen_iterasrandom_iter(#1305, #1500)Rng::gentorandomto avoid conflict with the newgenkeyword in Rust 2024 (#1438)Rng::gen_rangetorandom_range,gen_booltorandom_bool,gen_ratiotorandom_ratio(#1505)#[track_caller](#1442, #1447)API changes: RNGs
<SmallRng as SeedableRng>::Seedsize to 256 bits (#1455)rng) ofReseedingRng::new(#1533)API changes: Sequences
SliceRandomintoIndexedRandom,IndexedMutRandom,SliceRandom(#1382)IndexedRandom::choose_multiple_array,index::sample_array(#1453, #1469)API changes: Distributions: renames
rand::distributionstorand::distr(#1470)StandardtoStandardUniform(#1526)distr::Slice->distr::slice::Choose,distr::EmptySlice->distr::slice::Empty(#1548)distr::DistString->distr::SampleString(#1548)distr::DistIter->distr::Iter,distr::DistMap->distr::Map(#1548)API changes: Distributions
Sizedbound onDistribution<T> for &D(#1278)Distribution<Option<T>>forStandardUniform(#1526)StandardUniformsupport allNonZero*types (#1332){Uniform, UniformSampler}::{new, new_inclusive}return aResult(instead of potentially panicking) (#1229)UniformimplementsTryFrominstead ofFromfor ranges (#1229)UniformUsize(#1487)isizeandusizevalues withStandardUniform,Uniform(except viaUniformUsize) andFilland usage as aWeightedAliasIndexweight (#1487)DistStringfor distributionsSlice<char>andUniform<char>(#1315)Slice::num_choices(#1402)p()for distributionBernoullito access probability (#1481)API changes: Weighted distributions
pubmodulerand::distr::weighted, movingWeightedIndexthere (#1548)weighted::Weight, allowingWeightedIndexto trap overflow (#1353)weight, weights, total_weightto distributionWeightedIndex(#1420)WeightedErrortoweighted::Error, revising variants (#1382) and mark as#[non_exhaustive](#1480)API changes: SIMD
std::simd, expand SIMD & docs (#1239)Reproducibility-breaking changes
ReseedingRng::reseeddiscard remaining data from the last block generated (#1379)SmallRng::seed_from_u64implementation (#1203)UniformFloat::newsamples andUniformFloat::sample_singleto yieldhigh(#1462)Slice(#1469)Uniformforusizeportable viaUniformUsize(#1487)IndexdRandom::choose_multiple_weightedfor very small seeds and optimize for large input length / low memory (#1530)Reproducibility-breaking optimisations
sample_floyd, affecting output ofrand::seq::index::sampleandrand::seq::SliceRandom::choose_multiple(#1277)IteratorRandom::chooseandchoose_stable(#1268)SliceRandom::shuffleandpartial_shuffle(#1272)Uniform: use Canon's method (single sampling) / Lemire's method (distribution sampling) for faster sampling (breaks value stability; #1287)sample_single_inclusivefor floats (+~20% perf) (#1289)Other optimisations
SmallRnginitialization performance (#1482)Other
Cargo.lock.msrvfile (#1275)rustfmtand enforce (#1448)benchescrate (#1329, #1439) and migrate to Criterion (#1490)Documentation
ThreadRngrelated docs (#1257)--generate-link-to-definitionfeature (#1327)doc_auto_cfg(#1411, #1450)rust-lang/regex (regex)
v1.12.3Compare Source
===================
This release excludes some unnecessary things from the archive published to
crates.io. Specifically, fuzzing data and various shell scripts are now
excluded. If you run into problems, please file an issue.
Improvements:
Switch from a Cargo
excludelist to anincludelist, and exclude someunnecessary stuff.
v1.12.2Compare Source
===================
This release fixes a
cargo docbreakage on nightly when--cfg docsrsisenabled. This caused documentation to fail to build on docs.rs.
Bug fixes:
Switches the
doc_auto_cfgfeature todoc_cfgon nightly for docs.rs builds.v1.12.1Compare Source
===================
This release makes a bug fix in the new
regex::Captures::get_matchAPIintroduced in
1.12.0. There was an oversight with the lifetime parameterfor the
Matchreturned. This is technically a breaking change, but giventhat it was caught almost immediately and I've yanked the
1.12.0release,I think this is fine.
v1.12.0Compare Source
===================
This release contains a smattering of bug fixes, a fix for excessive memory
consumption in some cases and a new
regex::Captures::get_matchAPI.Improvements:
Add
Capture::get_matchfor returning the overall match withoutunwrap().Bug fixes:
Fixes a panic in the lazy DFA (can only occur for especially large regexes).
Fixes a memory usage regression for large regexes (introduced in
regex 1.9).Fix universal start states in sparse DFA.
Fixes a panic when deserializing a corrupted dense DFA.
Make
regex_automata::meta::Regex::findconsistently returnNonewhenWhichCaptures::Noneis used.v1.11.3Compare Source
===================
This is a small patch release with an improvement in memory usage in some
cases.
Improvements:
Improve memory usage by trimming excess memory capacity in some spots.
v1.11.2Compare Source
===================
This is a new patch release of
regexwith some minor fixes. A larger numberof typo or lint fix patches were merged. Also, we now finally recommend using
std::sync::LazyLock.Improvements:
Switch recommendation from
once_celltostd::sync::LazyLock.Add
DFA::set_prefiltertoregex-automata.Bug fixes:
Remove
stddependency fromperf-literal-multisubstringcrate feature.Clarify the meaning of
(?R)$in the documentation.Remove
fuzz/andrecord/directories from published crate on crates.io.ron-rs/ron (ron)
v0.12.0Compare Source
API Changes
ron::error::Error::Base64Errorvariant. (#566)into_inner()method toron::ser::Serializerto retrieve the inner writer. (#588)base64dependency. (#566)Format Changes
Bug Fixes
v0.11.0Compare Source
API Changes
SpannedErrornow stores the full error span in span: Span { start: Position, end: Position }`, to facilitate, e.g., language server highlighting of syntax errors.no_stdsupport via a newstdfeature (enabled by default). With default features disabled, you must enable thestdfeature to accessde::from_reader, and thestd::iooperations onOptions, such asfrom_reader,from_reader_seed,to_io_writer, andto_io_writer_pretty(#567)ron::value::Numberto ensure it is non-exhaustive, to avoid breakingmatches when feature unification enables more of its variants than expected (#568)Examples
file_read_write_vec.rsfor reading and writingVec<T>to/from files. (#573)v0.10.1API Changes
ron::Options::to_io_writerandron::Options::to_io_writer_prettyto allow writing into anio::Writer(#561)ron::value::Numberis now non-exhaustive, to avoid breakingmatches when feature unification enables more of its variants than expected (#564)v0.9.0Compare Source
API Changes
ron::error::Error::Base64Errorvariant. (#566)into_inner()method toron::ser::Serializerto retrieve the inner writer. (#588)base64dependency. (#566)Format Changes
Bug Fixes
cargo-public-api/cargo-public-api (rustup-toolchain)
v0.1.10Compare Source
dev-dependencies(since tests moved to another crate).v0.1.9Compare Source
thiserrorfrom1.0.65to2.0.3.serde-rs/serde (serde)
v1.0.228Compare Source
RUSTDOCFLAGS='--cfg=docsrs'set for the whole dependency graph (#2995)v1.0.227Compare Source
v1.0.226Compare Source
v1.0.225Compare Source
v1.0.224Compare Source
v1.0.223Compare Source
v1.0.222Compare Source
serialize_withattribute produce code that works if respanned to 2024 edition (#2950, thanks @aytey)v1.0.221Compare Source
serde_if_integer128!macro (#2975)v1.0.220Compare Source
v1.0.219Compare Source
absolute_pathsClippy restriction being triggered inside macro-generated code (#2906, thanks @davidzeng0)v1.0.218Compare Source
serde-rs/json (serde_json)
v1.0.149Compare Source
v1.0.148Compare Source
zmijdependency to 1.0v1.0.147Compare Source
v1.0.146Compare Source
v1.0.145Compare Source
v1.0.144Compare Source
v1.0.143Compare Source
v1.0.142Compare Source
v1.0.141Compare Source
v1.0.140Compare Source
v1.0.139Compare Source
dtolnay/syn (syn)
v2.0.117Compare Source
self::pattern in first function argument (#1970)v2.0.116Compare Source
v2.0.115Compare Source
v2.0.114Compare Source
v2.0.113Compare Source
v2.0.112Compare Source
v2.0.111Compare Source
braced!,bracketed!,parenthesized!to be an otherwise unused variable (#1946)v2.0.110Compare Source
syn::ext::IdentExt::unrawavailable without "parsing" feature (#1940)syn::Metafollowed by=>(#1944)v2.0.109Compare Source
v2.0.108Compare Source
v2.0.107Compare Source
v2.0.106Compare Source
~constsyntax with[const]conditionally const syntax in trait bounds (#1896, rust-lang/rust#139858)v2.0.105Compare Source
impl !T {}(#1881, rust-lang/rust#144386)v2.0.104Compare Source
v2.0.103Compare Source
v2.0.102Compare Source
v2.0.101Compare Source
Stebalien/tempfile (tempfile)
v3.26.0NamedTempFile::persiston RedoxOS (#393) (thanks to @Andy-Python-Programmer).v3.25.0getrandom0.4.x while retaining support forgetrandom0.3.x.v3.24.0Compare Source
v3.23.0Compare Source
v3.22.0Compare Source
windows-sysrequirement to allow version 0.61.xunstable-windows-keep-open-tempfilefeature.v3.21.0Compare Source
windows-sysrequirement to allow version 0.60.xv3.20.0Compare Source
This release mostly unifies the behavior/capabilities around "keeping" temporary files:
Builder::keep(bool)(via deprecation) toBuilder::disable_cleanup(bool)to make it clear that behaves differently fromNamedTempFile::keep(). The former disables automatic cleanup while the latter consumes theNamedTempFileobject entirely and unsets the "temporary file" attribute (on Windows).TempDir::into_path(via deprecation) toTempDir::keepto mirrorNamedTempFile::keep.TempDir::disable_cleanup,NamedTempFile::disable_cleanup, andTempPath::disable_cleanupmaking it possible to disable automatic cleanup in-place after creating a temporary file/directory (equivalent to callingBuilder::disable_cleanupbefore creating the file/directory).Additionally, it adds a few spooled temp
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 Renovate Bot.