Decision Workspace
libinjectionrs vs barbacane-libinjection vs security-rust
Side-by-side comparison of Rust crates
43
libinjectionrs
growingv0.1.1
Rust port of libinjection - SQL/XSS injection detection library
46
barbacane-libinjection
experimentalv0.1.1
A memory-safe Rust port of libinjection (SQL injection and XSS detection), differential-tested against the C library
51
security-rust
experimentalv3.0.0
A pure Rust attack detection library with 32 detectors across 4 categories — injection, protocol, data, and file — plus stateful session, throttling, and risk scoring. Zero framework dependencies.
Core Metrics
| libinjectionrs | barbacane-libinjection | security-rust | |
|---|---|---|---|
| Health Score | 43 | 46 | 51 |
| Total Downloads | 12.5K | 454 | 506 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2 | 15 |
| Releases | 2 | 1 | 8 |
| Last Updated | 401d ago | 28d ago | 10d ago |
| Age | 1y 1m | 28d | 2m |
Health Breakdown
libinjectionrs
Maintenance
6
Quality
16
Community
6
Popularity
5
Documentation
10
barbacane-libinjection
Maintenance
11
Quality
15
Community
7
Popularity
3
Documentation
10
security-rust
Maintenance
12
Quality
15
Community
9
Popularity
3
Documentation
12
Technical Details
| libinjectionrs | barbacane-libinjection | security-rust | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.1 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | BSD-3-Clause | BSD-3-Clause | MIT |
| Dependencies | 4 | 4 | 4 |
| Crate Size | 95KB | 98KB | 305KB |
| Features | 3 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •security-rust leads with a health score of 51/100, but none of the options score above 80.
- •libinjectionrs has the most downloads (12.5K), suggesting wider adoption.
- •⚠ libinjectionrs has not been updated in over a year.
- •libinjectionrs, barbacane-libinjection are pre-1.0 — API may change.