veneer

Crates.ioveneer
lib.rsveneer
version0.2.1
sourcesrc
created_at2021-08-02 03:21:08.82367
updated_at2023-10-02 23:05:50.013259
descriptionA very thin std-like library that doesn't depend on libc
homepage
repositoryhttps://github.com/saethlin/veneer
max_upload_size
id430223
size93,501
Ben Kimock (saethlin)

documentation

https://docs.rs/veneer

README

Essentially, a replacement for the Rust standard library on Linux.

The Rust standard library makes tradeoffs in both API and implementation which are generally good but are inappropriate for some uses. This library offers an alternative perspective. In particular, it aims for:

  • No linkage against a libc
  • A minimum of unsafe code outside of that required to write syscall wrappers
  • The lowest runtime overhead possible, even where that makes interfaces awkward

These motivations primarily come from my experience trying to implement a POSIX ls that isn't significantly larger or slower than GNU's ls. For small programs, the accidental complexity of combining Rust's standard library with a libc implementation becomes the dominant contributor of both code size and execution speed.

Commit count: 53

cargo fmt