fix(deps): update rust crate bloomfilter to v3 #200
Annotations
2 errors and 2 warnings
mismatched types:
crates/shadowsocks/src/security/replay/ppbloom.rs#L50
error[E0308]: mismatched types
--> crates/shadowsocks/src/security/replay/ppbloom.rs:50:17
|
50 | Bloom::new_for_fp_rate(item_count, fp_p),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bloom<[u8]>`, found `Result<Bloom<_>, &str>`
|
= note: expected struct `bloomfilter::Bloom<[u8]>`
found enum `std::result::Result<bloomfilter::Bloom<_>, &'static str>`
help: consider using `Result::expect` to unwrap the `std::result::Result<bloomfilter::Bloom<_>, &'static str>` value, panicking if the value is a `Result::Err`
|
50 | Bloom::new_for_fp_rate(item_count, fp_p).expect("REASON"),
| +++++++++++++++++
|
mismatched types:
crates/shadowsocks/src/security/replay/ppbloom.rs#L50
error[E0308]: mismatched types
--> crates/shadowsocks/src/security/replay/ppbloom.rs:50:17
|
50 | Bloom::new_for_fp_rate(item_count, fp_p),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bloom<[u8]>`, found `Result<Bloom<_>, &str>`
|
= note: expected struct `bloomfilter::Bloom<[u8]>`
found enum `std::result::Result<bloomfilter::Bloom<_>, &'static str>`
help: consider using `Result::expect` to unwrap the `std::result::Result<bloomfilter::Bloom<_>, &'static str>` value, panicking if the value is a `Result::Err`
|
50 | Bloom::new_for_fp_rate(item_count, fp_p).expect("REASON"),
| +++++++++++++++++
|
cargo-deny (advisories)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo-deny (bans licenses sources)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|