15 releases (6 breaking)
|new 0.6.2||Feb 23, 2021|
|0.6.1||Feb 12, 2021|
|0.5.6||Jan 29, 2021|
|0.4.0||Dec 19, 2020|
|0.0.0||Oct 27, 2020|
#49 in Filesystem
2,201 downloads per month
Used in 5 crates (4 directly)
Extensions to the Rust standard library
A Bytecode Alliance project
system-interface adds extensions to the Rust standard library, seeking to
stay within the style of
std, while exposing additional functionality:
fs::FileIoExt- Extra support for working with files, including all the features of
std::os::unix::fs::FileExt, but with both POSIX-ish and Windows support, and with additional features, including
writewith all combinations of
_all. If you've ever wanted something like
write_all_vectored_at, or any other combination, or even
read_to_string_at, they're all here, and they work on Windows too!
io::IsTerminal- Test whether a given I/O handle refers to a terminal (aka a tty).
io::ReadReady- Query the number of bytes ready to be read immediately from an I/O handle.
io::Peek- Read from an I/O handle without consuming the data.
Everything in this crate is portable across popular POSIX-ish platforms and Windows.
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