Bug 1826669 - Upgrade rust-cascade to 1.5.0. r=keeler,supply-chain-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D174821
This commit is contained in:
Mike Hommey 2023-04-06 21:18:44 +00:00
parent 41a9ed7fb3
commit 907ae956e3
7 changed files with 25 additions and 50 deletions

25
Cargo.lock generated
View File

@ -336,7 +336,7 @@ dependencies = [
"nom",
"nss-gk-api",
"pkcs11-bindings",
"rand 0.8.5",
"rand",
"runloop",
"serde",
"serde_bytes",
@ -491,7 +491,7 @@ dependencies = [
"comedy",
"guid_win",
"lazy_static",
"rand 0.8.5",
"rand",
"regex",
"tempfile",
"thiserror",
@ -1129,7 +1129,7 @@ name = "dap_ffi"
version = "0.1.0"
dependencies = [
"prio",
"rand 0.8.5",
"rand",
"thin-vec",
]
@ -3783,7 +3783,7 @@ version = "0.1.0"
dependencies = [
"nserror",
"ohttp",
"rand 0.8.5",
"rand",
"thin-vec",
"xpcom",
]
@ -3986,7 +3986,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
dependencies = [
"phf_shared",
"rand 0.8.5",
"rand",
]
[[package]]
@ -4268,13 +4268,6 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.7.999"
dependencies = [
"rand 0.8.5",
]
[[package]]
name = "rand"
version = "0.8.5"
@ -4494,13 +4487,13 @@ checksum = "8a654c5bda722c699be6b0fe4c0d90de218928da5b724c3e467fc48865c37263"
[[package]]
name = "rust_cascade"
version = "1.4.0"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef248456c30c6607f1eb1e5d11025367b3340e235314dd33d2b31b41b35ac335"
checksum = "04249959e1b66d36f746f45ca8d0eed17cdc30c30aad178a856b7c45d51fe127"
dependencies = [
"byteorder",
"murmurhash3",
"rand 0.7.999",
"rand",
"sha2",
]
@ -5087,7 +5080,7 @@ version = "0.1.0"
source = "git+https://github.com/mozilla/application-services?rev=86c84c217036c12283d19368867323a66bf35883#86c84c217036c12283d19368867323a66bf35883"
dependencies = [
"base64",
"rand 0.8.5",
"rand",
"rusqlite",
"serde",
]

View File

@ -105,9 +105,6 @@ darling = { path = "build/rust/darling" }
# Patch redox_users to an empty crate
redox_users = { path = "build/rust/redox_users" }
# Patch getrandom 0.7 to 0.8
rand = { path = "build/rust/rand" }
# Patch env_logger 0.9 to 0.10
env_logger = { path = "build/rust/env_logger" }

View File

@ -1,22 +0,0 @@
[package]
name = "rand"
version = "0.7.999"
edition = "2018"
license = "MPL-2.0"
[lib]
path = "lib.rs"
[dependencies.rand]
version = "0.8"
default-features = false
[features]
alloc = ["rand/alloc"]
default = ["rand/default"]
getrandom = ["rand/getrandom"]
nightly = ["rand/nightly"]
serde1 = ["rand/serde1"]
simd_support = ["rand/simd_support"]
small_rng = ["rand/small_rng"]
std = ["rand/std"]

View File

@ -1,5 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
pub use rand::*;

View File

@ -1974,6 +1974,11 @@ who = "Mike Hommey <mh+mozilla@glandium.org>"
criteria = "safe-to-deploy"
delta = "0.27.0 -> 0.28.0"
[[audits.rust_cascade]]
who = "Mike Hommey <mh+mozilla@glandium.org>"
criteria = "safe-to-deploy"
delta = "1.4.0 -> 1.5.0"
[[audits.rust_decimal]]
who = "Mike Hommey <mh+mozilla@glandium.org>"
criteria = "safe-to-deploy"

View File

@ -1 +1 @@
{"files":{"Cargo.toml":"c523c5156c5d1fe20facdf880a0bab82235bb36a0e60e89c04cfa8fcd4c8ed90","README.md":"a4396d1adf63a77ae9aa0d1d850d02d09eec4a92810a52d675163688f312b3e8","license.txt":"1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5","src/lib.rs":"30f2fc8a98641d6382e0bf9990b62959d445eeb7f2418f04352109a85eaee555","test_data/make-sample-data.py":"7b9f3efda7d1043eaa32619d9bdc4904db5563b0132815a035211037ab1e028a","test_data/requirements.txt":"cb9372b33ed2774e0d5040459fd63a2f9abae2be599869be43a2a077b2c08aa3","test_data/test_v1_murmur_mlbf":"243df0b7f2f55bfe3cefbba2d4be5eb7957c0a063559c9f284ca4c1ee4211eb5","test_data/test_v1_murmur_short_mlbf":"3d4f03dc0a65cf5800efed6ac0b3c73e5b61e5d62bc82ac42744abc67f4c30fa","test_data/test_v2_murmur_inverted_mlbf":"8f72bc1ca79194026fb2f7335a21f8c61636278a91291122148ad8f1aa8917a2","test_data/test_v2_murmur_mlbf":"83dce93d1147b38ca94548ff52552688caf2ece8388b2b5ea3fff1cb67e1396e","test_data/test_v2_sha256ctr_salt_mlbf":"31970e184563c31f39cd52410c6de1e49924d175df472af441a5aacb016240c3","test_data/test_v2_sha256l32_inverted_mlbf":"96399e30463a761a3f5ae0d0e1d57738b05f231cf6d5c2fe1db6bd9d33fab992","test_data/test_v2_sha256l32_mlbf":"0bd6630ef9a900861af419b496657648ab84b8c134a6fc2484d8e1cf11820ec1","test_data/test_v2_sha256l32_salt_mlbf":"bed34a636baca454f37f66d8314d7891722c8a8b029a0e4e0cf1f6ba176ee2c8"},"package":"ef248456c30c6607f1eb1e5d11025367b3340e235314dd33d2b31b41b35ac335"}
{"files":{"Cargo.toml":"0373734bf8d8353b0b811ab53610d6040d4ae752bbf4ee72eeb256c32b6ff32c","README.md":"a4396d1adf63a77ae9aa0d1d850d02d09eec4a92810a52d675163688f312b3e8","license.txt":"1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5","src/lib.rs":"30f2fc8a98641d6382e0bf9990b62959d445eeb7f2418f04352109a85eaee555","test_data/make-sample-data.py":"7b9f3efda7d1043eaa32619d9bdc4904db5563b0132815a035211037ab1e028a","test_data/requirements.txt":"cb9372b33ed2774e0d5040459fd63a2f9abae2be599869be43a2a077b2c08aa3","test_data/test_v1_murmur_mlbf":"243df0b7f2f55bfe3cefbba2d4be5eb7957c0a063559c9f284ca4c1ee4211eb5","test_data/test_v1_murmur_short_mlbf":"3d4f03dc0a65cf5800efed6ac0b3c73e5b61e5d62bc82ac42744abc67f4c30fa","test_data/test_v2_murmur_inverted_mlbf":"8f72bc1ca79194026fb2f7335a21f8c61636278a91291122148ad8f1aa8917a2","test_data/test_v2_murmur_mlbf":"83dce93d1147b38ca94548ff52552688caf2ece8388b2b5ea3fff1cb67e1396e","test_data/test_v2_sha256ctr_salt_mlbf":"31970e184563c31f39cd52410c6de1e49924d175df472af441a5aacb016240c3","test_data/test_v2_sha256l32_inverted_mlbf":"96399e30463a761a3f5ae0d0e1d57738b05f231cf6d5c2fe1db6bd9d33fab992","test_data/test_v2_sha256l32_mlbf":"0bd6630ef9a900861af419b496657648ab84b8c134a6fc2484d8e1cf11820ec1","test_data/test_v2_sha256l32_salt_mlbf":"bed34a636baca454f37f66d8314d7891722c8a8b029a0e4e0cf1f6ba176ee2c8"},"package":"04249959e1b66d36f746f45ca8d0eed17cdc30c30aad178a856b7c45d51fe127"}

View File

@ -11,13 +11,20 @@
[package]
name = "rust_cascade"
version = "1.4.0"
authors = ["Mark Goodwin <mgoodwin@mozilla.com>", "Dana Keeler <dkeeler@mozilla.com>", "J.C. Jones <jc@mozilla.com>", "John Schanck <jschanck@mozilla.com>"]
version = "1.5.0"
authors = [
"Mark Goodwin <mgoodwin@mozilla.com>",
"Dana Keeler <dkeeler@mozilla.com>",
"J.C. Jones <jc@mozilla.com>",
"John Schanck <jschanck@mozilla.com>",
]
description = "A simple bloom filter cascade implementation in Rust."
homepage = "https://github.com/mozilla/rust-cascade"
documentation = "https://docs.rs/rust_cascade/"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/mozilla/rust-cascade"
[dependencies.byteorder]
version = "1.3.1"
@ -25,7 +32,7 @@ version = "1.3.1"
version = "0.0.5"
[dependencies.rand]
version = "0.7.3"
version = "0.8"
[dependencies.sha2]
version = "0.10.2"