Debian Patches

Status for rust-base-encode/0.3.1-1

Patch Description Author Forwarded Bugs Origin Last update
bump-rand-dev-dependency.patch Bump rand dev-dependency from 0.7 to 0.8 (Debian has no rand 0.7) examples/base36.rs uses rand::random(); the crate pins the rand
dev-dependency to 0.7, but Debian ships rand 0.8 and 0.10, not 0.7. The
auto-generated autopkgtest dependency librust-rand-0.7+default-dev is
therefore unsatisfiable and the test fails with "badpkg". rand::random()
is API-stable across these releases, so bumping the dev-dependency to 0.8
lets the example build and the autopkgtest run against Debian's rand.

diff --git a/Cargo.toml b/Cargo.toml
index 5db9f20..e3193b0 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> not-needed

All known versions for source package 'rust-base-encode'

Links