#api #network #file

system-interface

Extensions to the Rust standard library

54 releases (27 breaking)

new 0.27.1 Feb 13, 2024
0.26.1 Jan 2, 2024
0.26.0 Jun 30, 2023
0.25.5 Mar 29, 2023
0.0.0 Oct 27, 2020

#498 in Filesystem

Download history 22307/week @ 2023-10-29 21125/week @ 2023-11-05 19943/week @ 2023-11-12 15873/week @ 2023-11-19 18361/week @ 2023-11-26 19227/week @ 2023-12-03 25969/week @ 2023-12-10 20436/week @ 2023-12-17 13666/week @ 2023-12-24 21384/week @ 2023-12-31 25840/week @ 2024-01-07 34996/week @ 2024-01-14 31092/week @ 2024-01-21 31044/week @ 2024-01-28 33761/week @ 2024-02-04 26857/week @ 2024-02-11

125,335 downloads per month
Used in 51 crates (7 directly)

Apache-2.0…

98KB
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

~2–15MB
~171K SLoC