Debian Patches
Status for rust-secp256k1/0.33.1-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001_relax-rand-dependency.patch | Relax rand dependency to build with rand 0.10 secp256k1 0.33.1 sets rand = "0.9" (optional, default-features = false), but Debian unstable ships rand 0.10. Relax the version requirement so that debcargo maps the dependency to the packaged librust-rand-0.10-* packages instead of generating missing librust-rand-0.9-* ones. Also drop the "rand?/small_rng" entry from the std feature, since rand 0.10 no longer provides a small_rng feature; the rand::rngs::SmallRng type is only used under #[cfg(bench)] upstream and never built during Debian builds. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-10-26 | ||
| 0002_relax-dev-dependencies.patch | Relax dev-dependencies to versions packaged in Debian unstable secp256k1 0.33.1 pins its dev-dependencies to old versions that are no longer shipped in Debian unstable (bincode 1.x, rand-xoshiro 0.7, serde-cbor 0.10, getrandom 0.3). Relax the version constraints so that debcargo matches them to the versions actually present in unstable (bincode 2.0, rand-xoshiro 0.8, serde-cbor 0.11, getrandom 0.4), which lets the autopkgtest testbed satisfy its test dependencies. Forwarded upstream is not needed: these are only development-time dependencies used by the test-suite. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-10-26 | ||
| 0003_fix-rand-0.10-api.patch | Fix source compatibility with rand 0.10 secp256k1 0.33.1 was written against the rand 0.9 API, but Debian unstable ships rand 0.10 (see 0001_relax-rand-dependency.patch). The rand 0.10 API has moved the RNG traits around: * `rand::RngCore` is no longer re-exported at the crate root and is now only a deprecated marker trait; the working user interface is `rand::Rng` (provided by rand_core 0.10) or `rand::RngExt`. * The `fill()` convenience method no longer exists on `rand::Rng`; code should call `fill_bytes()` instead. * Custom RNGs are now implemented via `rand::TryRng` (with `type Error = core::convert::Infallible`) rather than `RngCore`; `Rng` is then provided automatically by a blanket implementation. Update the affected function and test code (including the doctest examples that import `RngCore`) so that the lib and test suites compile against librust-rand 0.10 in Debian unstable. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-11-01 |
All known versions for source package 'rust-secp256k1'
- 0.33.1-1 (sid, forky)
