Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #571: backport: fix rand-std feature for old cargo versions
66a8c39 backport: fix rand-std feature for old cargo versions (Andrew Poelstra) Pull request description: There is a bugfix rust-lang/cargo#8395 which appears in cargo 1.46, after our MSRV of 1.41. This means that under 1.41, users of the rand-std feature may nondeterministically see compilation fail. In particular, users of rust-bitcoin 0.29 seem to have started seeing failures starting on 2023-01-12, where the 'rand-std' feature would be enabled in this library but 'rand' was not. This commit simply makes the 'rand' dependency explicit, to avoid the nondeterministic bug in cargo's feature resolver. Fixes rust-bitcoin/rust-bitcoin#1546 ACKs for top commit: sanket1729: code review ACK 66a8c39 Tree-SHA512: 896198dd4050bd8f4a71b345e5691ffddf99f6d5a6fdd2e37bf5032359fcb41ee6c8d966de4f90762e93516b2fc654985a8f25edf113d4ced5b06d9a23742e55
- Loading branch information