Decision Workspace
dbgprint vs atomic-dbg vs gag
Side-by-side comparison of Rust crates
36
dbgprint
growingv0.1.0
A set of macros that output the STDOUT and STDERR of the program only in debug mode.
50
atomic-dbg
growingv0.1.11
Atomic `dbg`/`eprintln`/`eprint` macros
54
gag
growingv1.0.0
Gag, redirect, or hold stdout/stderr output. Currently only *nix operating systems are supported.
Core Metrics
| dbgprint | atomic-dbg | gag | |
|---|---|---|---|
| Health Score | 36 | 50 | 54 |
| Total Downloads | 2.4K | 23.6K | 3.9M |
| 30d Downloads | 17 | 266 | 266.3K |
| Dependents | 6 | 76 | 2.4K |
| Releases | 1 | 13 | 12 |
| Last Updated | 998d ago | 386d ago | 1762d ago |
| Age | 2y 8m | 3y 10m | 10y 12m |
Health Breakdown
dbgprint
Maintenance
1
Quality
16
Community
5
Popularity
4
Documentation
10
atomic-dbg
Maintenance
7
Quality
15
Community
10
Popularity
5
Documentation
13
gag
Maintenance
4
Quality
19
Community
12
Popularity
8
Documentation
11
Technical Details
| dbgprint | atomic-dbg | gag | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.11 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | MIT |
| Dependencies | 0 | 5 | 4 |
| Crate Size | 2KB | 13KB | 5KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gag leads with a health score of 54/100, but none of the options score above 80.
- •gag is depended on by 2.4K crates — strongest ecosystem trust.
- •⚠ dbgprint, atomic-dbg, gag have not been updated in over a year.
- •dbgprint, atomic-dbg are pre-1.0 — API may change.