capsec 0.2.2

Compile-time capability-based security for Rust
Documentation
1
2
3
4
5
6
7
8
/// RuntimeCap<P> is !Send — use make_send() for cross-thread transfer.
use capsec::prelude::*;

fn assert_send<T: Send>() {}

fn main() {
    assert_send::<RuntimeCap<FsRead>>();
}