Decision Workspace
pledge vs priv_sep vs unveil
Side-by-side comparison of Rust crates
42
pledge
growingv0.4.2
Rust binding to OpenBSD's pledge(2) interface
71
priv_sep
stablev2.2.0
FFI for chroot(2), pledge(2), setgroups(2), setresgid(2), setresuid(2), and unveil(2).
43
unveil
growingv0.3.2
Rust binding for OpenBSD's unveil(2)
Core Metrics
| pledge | priv_sep | unveil | |
|---|---|---|---|
| Health Score | 42 | 71 | 43 |
| Total Downloads | 55.1K | 22.2K | 28.7K |
| 30d Downloads | 918 | 138 | 502 |
| Dependents | 95 | 40 | 69 |
| Releases | 9 | 27 | 6 |
| Last Updated | 1745d ago | 17d ago | 1405d ago |
| Age | 9y 6m | 2y 8m | 7y 5m |
Health Breakdown
pledge
Maintenance
4
Quality
11
Community
10
Popularity
6
Documentation
11
priv_sep
Maintenance
19
Quality
22
Community
10
Popularity
5
Documentation
15
unveil
Maintenance
6
Quality
15
Community
9
Popularity
5
Documentation
8
Technical Details
| pledge | priv_sep | unveil | |
|---|---|---|---|
| Version | 0.4.2 | 2.2.0 | 0.3.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 1 | 1 | 1 |
| Crate Size | 5KB | 14KB | 7KB |
| Features | 0 | 2 | 0 |
| Yanked % | 11.1% | 0.0% | 0.0% |
| Edition | — | 2024 | — |
| MSRV | — | 1.85.0 | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •priv_sep leads with a health score of 71/100, but none of the options score above 80.
- •pledge has the most downloads (55.1K), suggesting wider adoption.
- •⚠ pledge, unveil have not been updated in over a year.
- •pledge, unveil are pre-1.0 — API may change.