capsec 0.2.2

Compile-time capability-based security for Rust
Documentation
1
2
3
4
/// capsec::fs functions require a capability token — calling without one must fail.
fn main() {
    let _ = capsec::fs::read_to_string("/etc/passwd");
}