Package: rust-pastel / 0.11.0-1

Metadata

Package Version Patches format
rust-pastel 0.11.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
relax deps.patch | (download)

Cargo.toml | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 relax dependency versions
relax rand 0.8.patch | (download)

Cargo.toml | 2 1 + 1 - 0 !
src/distinct.rs | 16 8 + 8 - 0 !
src/random.rs | 16 8 + 8 - 0 !
3 files changed, 17 insertions(+), 17 deletions(-)

 fix compatibility with rand 0.8
 The rand crate 0.9 API is not available in Debian. This patch adapts
 the code to work with rand 0.8:
 - Replace rand::rng() with rand::thread_rng()
 - Replace .random::<T>() with .gen::<T>()
 - Replace .random_range() with .gen_range()