rustio rustio.net
44

galvanic-assert

v0.8.7 Growing

A comprehensive set of matcher-based assertions and expectations for easier testing. Supports checking properties of numbers, objects, enum variants, collections, panics, and more. Stuctural matching enables you to integrate matchers into struct decompositions for less code repetition. It's easy to write your own matchers for assertions too. This crate will be part of the galvanic test framework (in development). You can also use the assertions in another test framework of your choice. Works on: stable, beta, and nightly

Apache-2.0
Development tools::Testing #assert#test#matching#fluent#hamcrest

Quick Verdict

  • โœ•Not updated for 8+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (20KB, 0 deps)
  • โœ“Permissive license (Apache-2.0)

Security

Checking security advisories...
Downloads
155.6K
Dependents
76
Releases
13
Size
20KB

Deep Insights

๐Ÿ“‰
Download decline

1.6K downloads in the last 30 days, down 21% from the previous period. May indicate migration to alternatives.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 9+ years old, galvanic-assert hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

galvanic-assert has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 20KB, galvanic-assert is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include genevo, trim-margin, ironoxide, galvanic-mock, aeron-rs. When high-quality crates choose galvanic-assert, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 13/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
62/day avg-40%
05010015012/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.8.7
92%
v0.8.6
2%
v0.8.5
2%
v0.8.3
2%
v0.8.2
2%

Release Timeline

13 releases1 yankedsince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
12
2018
1
2019
2020
2021
2022
2023
2024
2025
2026
Less
More|
Yanked

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
76
crates depend on galvanic-assert

Similar Crates