Skip to content

Commit

Permalink
Bump hashbrown to 0.15.2 and address deprecated coverage_helper useag…
Browse files Browse the repository at this point in the history
  • Loading branch information
nand-nor committed Feb 13, 2025
1 parent 4c939e4 commit d001569
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## [Unreleased]

### Changed

- Updated `hashbrown` dependency to `0.15.2`.
- Removed `coverage-helper` dependency
- Addressed clippy warnings regarding `#[coverage(...)]` attribute

# 0.7.1 - 10-24-2023

### Changed
Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ rust-version = "1.71.1"

[dependencies]
dlv-list = { version = "0.5", default-features = false }
hashbrown = { version = "0.14.0", default-features = false }
hashbrown = { version = "0.15.2", default-features = false, features=["raw-entry"] }
serde = { version = "1", optional = true, default-features = false }

[features]
default = ["std"]
std = ["dlv-list/std"]

[dev-dependencies]
coverage-helper = "0.2.0"
serde_test = "1.0.144"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
4 changes: 2 additions & 2 deletions src/list_ordered_multimap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3524,8 +3524,8 @@ where

#[allow(unused_results)]
#[cfg(all(test, feature = "std"))]
#[cfg_attr(coverage_nightly, coverage(off))]
mod test {
use coverage_helper::test;

use super::*;

Expand Down Expand Up @@ -5361,7 +5361,7 @@ mod test {
#[test]
fn test_dummy_hasher_finish() {
let hasher = DummyHasher;
hasher.finish();
let _ = hasher.finish();
}

#[should_panic]
Expand Down
3 changes: 2 additions & 1 deletion src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ where

#[allow(unused_results)]
#[cfg(all(test, feature = "std"))]
#[cfg_attr(coverage_nightly, coverage(off))]
mod test {
use coverage_helper::test;

use serde_test::{assert_de_tokens_error, assert_tokens, Token};

use super::*;
Expand Down

0 comments on commit d001569

Please sign in to comment.