forked from rustdesk/rustdesk
Update Rust crate rand to 0.9 #37
Open
renovatebot
wants to merge 1 commit from
renovate/rand-0.x into master
pull from: renovate/rand-0.x
merge into: test-actions:master
test-actions:master
test-actions:renovate/nix-0.x
test-actions:renovate/external_path-2.x
test-actions:renovate/xattr-1.x-lockfile
test-actions:renovate/wol-rs-1.x-lockfile
test-actions:renovate/uuid-1.x-lockfile
test-actions:renovate/unicode-segmentation-1.x-lockfile
test-actions:renovate/totp-rs-5.x-lockfile
test-actions:renovate/pulse-2.x-lockfile
test-actions:renovate/psimple-2.x-lockfile
test-actions:renovate/once_cell-1.x-lockfile
test-actions:renovate/num_cpus-1.x-lockfile
test-actions:renovate/cc-1.x-lockfile
test-actions:renovate/serde-monorepo
test-actions:renovate/url-2.x-lockfile
test-actions:renovate/tokio-tracing-monorepo
test-actions:renovate/thiserror-1.x-lockfile
test-actions:renovate/sys-locale-0.x-lockfile
test-actions:renovate/sha2-0.x-lockfile
test-actions:renovate/serde_repr-0.x-lockfile
test-actions:renovate/serde_json-1.x-lockfile
test-actions:renovate/pkg-config-0.x-lockfile
test-actions:renovate/parking_lot-0.x-lockfile
test-actions:renovate/mac_address-1.x-lockfile
test-actions:renovate/log-0.x-lockfile
test-actions:renovate/libloading-0.x-lockfile
test-actions:renovate/libc-0.x-lockfile
test-actions:renovate/gtk-0.x-lockfile
test-actions:renovate/errno-0.x-lockfile
test-actions:renovate/ctrlc-3.x-lockfile
test-actions:renovate/crossbeam-queue-0.x-lockfile
test-actions:renovate/clap-4.x-lockfile
test-actions:renovate/async-trait-0.x-lockfile
test-actions:renovate/softprops-action-gh-release-2.x
test-actions:renovate/zip-4.x
test-actions:renovate/thiserror-2.x
test-actions:renovate/qrcode-generator-5.x
test-actions:renovate/dirs-6.x
test-actions:renovate/dashmap-6.x
test-actions:renovate/brotli-8.x
test-actions:renovate/async-process-2.x
test-actions:renovate/major-protobuf-monorepo
test-actions:renovate/com.android.application-8.x
test-actions:renovate/kylemayes-install-llvm-action-2.x
test-actions:renovate/vite-6.x
test-actions:renovate/uuid-4.x
test-actions:renovate/ubuntu-24.x
test-actions:renovate/typescript-5.x
test-actions:renovate/ts-proto-2.x
test-actions:renovate/package_info_plus-8.x
test-actions:renovate/icons_launcher-3.x
test-actions:renovate/gradle-8.x
test-actions:renovate/freezed_annotation-3.x
test-actions:renovate/freezed-3.x
test-actions:renovate/flutter_rust_bridge-2.x
test-actions:renovate/flutter_lints-6.x
test-actions:renovate/flutter_keyboard_visibility-6.x
test-actions:renovate/file_picker-10.x
test-actions:renovate/ffigen-19.x
test-actions:renovate/extended_text-15.x
test-actions:renovate/device_info_plus-11.x
test-actions:renovate/back_button_interceptor-8.x
test-actions:renovate/apple-actions-import-codesign-certs-5.x
test-actions:renovate/actions-github-script-7.x
test-actions:renovate/actions-checkout-4.x
test-actions:renovate/actions-cache-4.x
test-actions:renovate/subosito-flutter-action-2.x
test-actions:renovate/x11rb-0.x
test-actions:renovate/winreg-0.x
test-actions:renovate/windows-strings-0.x
test-actions:renovate/windows-service-0.x
test-actions:renovate/tauri-winrt-notification-0.x
test-actions:renovate/rubato-0.x
test-actions:renovate/ringbuf-0.x
test-actions:renovate/objc2-foundation-0.x
test-actions:renovate/objc2-app-kit-0.x
test-actions:renovate/objc2-0.x
test-actions:renovate/ndk-0.x
test-actions:renovate/image-0.x
test-actions:renovate/default-net-0.x
test-actions:renovate/core-graphics-0.x
test-actions:renovate/core-foundation-0.x
test-actions:renovate/cocoa-0.x
test-actions:renovate/cidr-utils-0.x
test-actions:renovate/bindgen-0.x
test-actions:renovate/android_logger-0.x
test-actions:renovate/protobuf-monorepo
test-actions:renovate/com.android.application-7.x
test-actions:renovate/gstreamer-rust-monorepo
test-actions:renovate/zstddec-0.x
test-actions:renovate/vite-2.x
test-actions:renovate/uni_links_desktop-0.x
test-actions:renovate/typescript-4.x
test-actions:renovate/scroll_pos-0.x
test-actions:renovate/pull_down_button-0.x
test-actions:renovate/flutter_rust_bridge-1.x
test-actions:renovate/flutter_launcher_icons-0.x
test-actions:renovate/extended_text-14.x
test-actions:renovate/desktop_drop-0.x
test-actions:renovate/com.github.getactivity-xxpermissions-18.x
test-actions:renovate/androidx.media-media-1.x
test-actions:renovate/com.google.protobuf-0.x
test-actions:renovate/pcm-player-0.x
test-actions:renovate/gradle-7.x
test-actions:renovate/pin-dependencies
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
test-actions/rustdesk!37
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/rand-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.8->0.9Release Notes
rust-random/rand (rand)
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)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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: Cargo.lock
190d8e3968accf16601c