Decision Workspace
security-rust vs barbacane-libinjection vs libinjectionrs
Side-by-side comparison of Rust crates
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.
46
barbacane-libinjection
experimentalv0.1.1
A memory-safe Rust port of libinjection (SQL injection and XSS detection), differential-tested against the C library
43
libinjectionrs
growingv0.1.1
Rust port of libinjection - SQL/XSS injection detection library
Core Metrics
| security-rust | barbacane-libinjection | libinjectionrs | |
|---|---|---|---|
| Health Score | 51 | 46 | 43 |
| Total Downloads | 506 | 454 | 12.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 2 | 0 |
| Releases | 8 | 1 | 2 |
| Last Updated | 10d ago | 28d ago | 401d ago |
| Age | 2m | 28d | 1y 1m |
Health Breakdown
security-rust
Maintenance
12
Quality
15
Community
9
Popularity
3
Documentation
12
barbacane-libinjection
Maintenance
11
Quality
15
Community
7
Popularity
3
Documentation
10
libinjectionrs
Maintenance
6
Quality
16
Community
6
Popularity
5
Documentation
10
Technical Details
| security-rust | barbacane-libinjection | libinjectionrs | |
|---|---|---|---|
| Version | 3.0.0 | 0.1.1 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | BSD-3-Clause | BSD-3-Clause |
| Dependencies | 4 | 4 | 4 |
| Crate Size | 305KB | 98KB | 95KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| 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.
- •barbacane-libinjection, libinjectionrs are pre-1.0 — API may change.