52 releases (24 breaking)

new 0.25.2 Jun 29, 2022
0.24.4 May 26, 2022
0.24.2 Mar 16, 2022
0.22.0 Dec 16, 2021
0.6.0 Nov 10, 2020

#173 in Network programming

Download history 10122/week @ 2022-03-14 10576/week @ 2022-03-21 14047/week @ 2022-03-28 14048/week @ 2022-04-04 13697/week @ 2022-04-11 12972/week @ 2022-04-18 14056/week @ 2022-04-25 11978/week @ 2022-05-02 14716/week @ 2022-05-09 14541/week @ 2022-05-16 11561/week @ 2022-05-23 11259/week @ 2022-05-30 11983/week @ 2022-06-06 10996/week @ 2022-06-13 11118/week @ 2022-06-20 13951/week @ 2022-06-27

48,482 downloads per month
Used in 46 crates (4 directly)

Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT

320KB
7K 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–9MB
~165K SLoC