Depend on a multiset git commit that includes a bug fix (#3033)

This fixes a bug in MultiSet::remove_all:
https://github.com/jmitchell/multiset/pull/21
This commit is contained in:
teor 2021-11-12 07:37:01 +10:00 committed by GitHub
parent 11b5a33651
commit a7299aa7f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

3
Cargo.lock generated
View File

@ -2109,8 +2109,7 @@ dependencies = [
[[package]]
name = "multiset"
version = "0.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce8738c9ddd350996cb8b8b718192851df960803764bcdaa3afb44a63b1ddb5c"
source = "git+https://github.com/jmitchell/multiset?rev=91ef8550b518f75ae87ae0d8771150f259fd34d5#91ef8550b518f75ae87ae0d8771150f259fd34d5"
[[package]]
name = "nibble_vec"

View File

@ -96,6 +96,9 @@ allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = [
# ticket #2982: librustzcash and orchard git versions
"https://github.com/str4d/redjubjub",
# ticket #2523: replace unmaintained multiset
"https://github.com/jmitchell/multiset",
]
[sources.allow-org]

View File

@ -31,7 +31,10 @@ chrono = "0.4.19"
rlimit = "0.5.4"
# TODO: this crate is not maintained anymore. Replace it?
# https://github.com/ZcashFoundation/zebra/issues/2523
multiset = "0.0.5"
#
# Pinned to a commit which includes bug fix https://github.com/jmitchell/multiset/pull/21
# The fix should be included in multiset 0.0.6.
multiset = { git = "https://github.com/jmitchell/multiset", rev = "91ef8550b518f75ae87ae0d8771150f259fd34d5" }
proptest = { version = "0.10.1", optional = true }
proptest-derive = { version = "0.3", optional = true }