capsec_std/lib.rs
1//! # capsec-std
2//!
3//! Capability-gated wrappers around the Rust standard library.
4//!
5//! Every function in this crate mirrors a `std` function but requires a capability
6//! token proving the caller has the appropriate permission. For example,
7//! [`fs::read`] requires `&impl Has<FsRead>`.
8//!
9//! This is the enforcement layer of `capsec` — by using these wrappers instead of
10//! raw `std` calls, you get compile-time verification that your code only exercises
11//! the capabilities it declares.
12
13pub mod env;
14pub mod file;
15pub mod fs;
16pub mod net;
17pub mod process;