Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rustix #138

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Add rustix #138

merged 1 commit into from
Oct 7, 2024

Conversation

joshka
Copy link
Contributor

@joshka joshka commented Oct 6, 2024

Fixes: #135


Crate description from readme:

rustix provides efficient memory-safe and I/O-safe wrappers to POSIX-like, Unix-like, Linux, and Winsock syscall-like APIs, with configurable backends. It uses Rust references, slices, and return values instead of raw pointers, and I/O safety types instead of raw file descriptors, providing memory safety, I/O safety, and provenance. It uses Results for reporting errors, bitflags instead of bare integer flags, an Arg trait with optimizations to efficiently accept any Rust string type, and several other efficient conveniences.

Simplified description for this PR:

Efficient and safe POSIX / *nix / Winsock syscall-like APIs. It uses idiomatic Rust types: refs, slices, Results instead of raw pointers, safe wrappers around raw file descriptors, bitflags instead of bare integer flags, and several other conveniences.

Perhaps add some opinion-sauce to this if needed.

@nicoburns nicoburns merged commit d4dbfe7 into nicoburns:main Oct 7, 2024
2 checks passed
@joshka joshka deleted the jm/rustix branch October 12, 2024 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustix
3 participants