Registry / utility / cap-std

cap-std

JSON →
library4.0.2rscratesunverified

Capability-based version of the Rust standard library.

# Cargo.toml [dependencies] cap-std = "4.0.2"
INSTALL
IMPORT
SIG · CAP-STD
C
cap-std
utilityrustv4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Dir
✓ use cap_std::fs::Dir;

Opens a directory with capability-based security.

use cap_std::fs::Dir; fn main() -> std::io::Result<()> { let dir = Dir::open(".")?; println!("Opened directory"); Ok(()) }
Debug
Known issues
gotchaNot all std APIs are available; some require feature flags
fix
Enable features like 'fs_utf8' for full compatibility
affects: >=4.0.0
Upgrade
Version history
4.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
cap-std — cargo add cap-std · libregistry