#api #network #file

system-interface

Extensions to the Rust standard library

46 releases (25 breaking)

new 0.25.5 Mar 29, 2023
0.25.3 Jan 10, 2023
0.25.2 Dec 27, 2022
0.25.0 Nov 27, 2022
0.0.0 Oct 27, 2020

#67 in Filesystem

Download history 7742/week @ 2022-12-08 10696/week @ 2022-12-15 6218/week @ 2022-12-22 5532/week @ 2022-12-29 10317/week @ 2023-01-05 9151/week @ 2023-01-12 10046/week @ 2023-01-19 11163/week @ 2023-01-26 8702/week @ 2023-02-02 9754/week @ 2023-02-09 9378/week @ 2023-02-16 11274/week @ 2023-02-23 9653/week @ 2023-03-02 10610/week @ 2023-03-09 10023/week @ 2023-03-16 10273/week @ 2023-03-23

43,155 downloads per month
Used in 29 crates (6 directly)

Apache-2.0…

100KB
2K SLoC

system-interface

Extensions to the Rust standard library

A Bytecode Alliance project

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

system-interface adds extensions to the Rust standard library, seeking to stay within the style of std, while exposing additional functionality:

Everything in this crate is portable across popular POSIX-ish platforms and Windows.

Many of system-interface's features correspond to features in WASI, and are designed to work with cap-std, however it's not specific to WASI and can be used with regular std too. To separate concerns, all sandboxing and capability-oriented APIs are left to cap-std, so this crate's features are usable independently.

Support for async-std and socket2 is temporarily disabled until those crates contain the needed implementations of the I/O safety traits.

Dependencies

~0.2–8MB
~138K SLoC