• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zommiommy / mem_dbg-rs / 25488952402
96%
main: 98%

Build:
Build:
LAST BUILD BRANCH: pr6-binary-heap-wrapper-impls
DEFAULT BRANCH: main
Ran 07 May 2026 10:01AM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 May 2026 09:57AM UTC coverage: 95.608% (-2.1%) from 97.686%
25488952402

Pull #42

github

zommiommy
feat: add optional hashbrown feature with foreign-type impls

Mirrors the std::collections::HashMap/HashSet impls for hashbrown::HashMap<K, V, S>
and hashbrown::HashSet<T, S>. Pulls hashbrown in only when the feature is enabled,
so non-feature users see no dependency.

Lets no_std users (where std::collections::HashMap/HashSet are unavailable) account
hash-collection memory through the same API.

Refactors fix_set_for_capacity / fix_map_for_capacity to take (type_size, len,
capacity) instead of a typed reference so the same Swiss-table layout helpers
service both std and hashbrown impls. Lifts cfg gates on GROUP_WIDTH,
capacity_to_buckets, and MemSizeHelper2 from "std" to any(std, hashbrown).

Hasher S is left unbounded: matches the std impl's behaviour of counting only the
inline hasher footprint.
Pull Request #42: refactor!: drop hashbrown, use BTreeMap/BTreeSet for pointer dedup

156 of 170 new or added lines in 3 files covered. (91.76%)

6 existing lines in 1 file now uncovered.

849 of 888 relevant lines covered (95.61%)

268818.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
95.48
-4.52% mem_dbg/src/impl_mem_size.rs

Coverage Regressions

Lines Coverage ∆ File
6
95.48
-4.52% mem_dbg/src/impl_mem_size.rs
Jobs
ID Job ID Ran Files Coverage
1 25488952402.1 07 May 2026 10:01AM UTC 4
95.61
GitHub Action Run
Source Files on build 25488952402
  • Tree
  • List 4
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25488952402
  • Pull Request #42
  • PR Base - main (#25438984313)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc