Hacker News new | ask | show | jobs
by fiveop 3768 days ago
There is the library 'libc' which is a collection of interfaces to (g)libc functions together with the necessary constants and structs [1].

There is the library 'nix-rust' [2], which aims to provide a wrapper of 'libc' in idomatic Rust.

Unlike 'libc', 'nix-rust' does not have a consistent code quality and organization yet. However, Both are missing various bindings for various platforms.

[1] https://github.com/rust-lang/libc [2] https://github.com/nix-rust/nix