Skip to content

Commit de0aca3

Browse files
chore(deps): bump rand from 0.9.4 to 0.10.1 (apache#1565)
* chore(deps): bump rand from 0.9.4 to 0.10.1 Bumps [rand](https://github.com/rust-random/rand) from 0.9.4 to 0.10.1. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@0.9.4...0.10.1) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix the build with rand 0.10.x --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
1 parent 27cb693 commit de0aca3

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mimalloc = { version = "0.1" }
5656

5757
tokio = { version = "1" }
5858
uuid = { version = "1.23", features = ["v4", "v7"] }
59-
rand = { version = "0.9" }
59+
rand = { version = "0.10" }
6060
env_logger = { version = "0.11" }
6161
futures = { version = "0.3" }
6262
log = { version = "0.4" }

ballista/scheduler/src/state/task_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use datafusion_proto::logical_plan::AsLogicalPlan;
4444
use datafusion_proto::physical_plan::{AsExecutionPlan, PhysicalExtensionCodec};
4545
use datafusion_proto::protobuf::PhysicalPlanNode;
4646
use log::{debug, error, info, trace, warn};
47-
use rand::{Rng, rng};
47+
use rand::{RngExt, rng};
4848
use std::collections::{HashMap, HashSet};
4949
use std::ops::Deref;
5050
use std::sync::Arc;

benchmarks/benches/sort_shuffle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use datafusion::physical_plan::coalesce_partitions::CoalescePartitionsExec;
3737
use datafusion::physical_plan::expressions::Column;
3838
use datafusion::prelude::SessionContext;
3939
use futures::TryStreamExt;
40-
use rand::Rng;
40+
use rand::RngExt;
4141
use tempfile::TempDir;
4242

4343
const BATCH_SIZE: usize = 8192;

0 commit comments

Comments
 (0)