68 releases (8 stable)

new 1.0.7 Mar 18, 2023
1.0.5 Feb 3, 2023
1.0.3 Dec 24, 2022
1.0.1 Nov 10, 2022
0.6.0 Nov 10, 2020

#201 in Network programming

Download history 16638/week @ 2022-11-30 14058/week @ 2022-12-07 17443/week @ 2022-12-14 11843/week @ 2022-12-21 6991/week @ 2022-12-28 18306/week @ 2023-01-04 15762/week @ 2023-01-11 18878/week @ 2023-01-18 21560/week @ 2023-01-25 14903/week @ 2023-02-01 14880/week @ 2023-02-08 16109/week @ 2023-02-15 18254/week @ 2023-02-22 16797/week @ 2023-03-01 16944/week @ 2023-03-08 12844/week @ 2023-03-15

68,288 downloads per month
Used in 104 crates (6 directly)

Apache-2.0…

350KB
7.5K SLoC

cap-primitives

Capability-based primitives

Github Actions CI Status crates.io page docs.rs docs

The cap-primitives crate provides primitive sandboxing operations that cap-std and cap-async-std are built on.

The filesystem module cap_primitives::fs, the networking module cap_primitives::net, and time module cap_primitives::time currently support Linux, macOS, FreeBSD, and Windows. WASI support is in development, though not yet usable.

Dependencies

~0.4–7.5MB
~124K SLoC