$ libc
v0.2.183Raw FFI bindings to platform libraries like libc.
Latest Update Summary
Crate
Name: libc New version: 1.0.0-alpha.3 Release date: 2026-02-09T21:30:57.055961Z
Crate readme
Short description Raw FFI bindings to platforms' system libraries
Long description
libc provides definitions necessary to interoperate with C code on platforms supported by Rust, including type definitions, constants, and function headers. Windows API bindings are not included in this crate.
Features
• std: by default libc links to the standard library.
• extra_traits: all structs implemented in libc are Copy and Clone.
Code Examples Add to Cargo.toml
[dependencies]
libc = "0.2"
Links • https://github.com/rust-lang/rfcs/blob/HEAD/text/1291-promote-libc.md • https://docs.rs/windows-sys • https://github.com/rust-lang/libc/blob/HEAD/ci/verify-build.py • https://github.com/rust-lang/libc/blob/HEAD/LICENSE-APACHE • https://github.com/rust-lang/libc/blob/HEAD/LICENSE-MIT • https://github.com/rust-lang/libc/blob/HEAD/CONTRIBUTING.md • https://www.rust-lang.org/policies/code-of-conduct • https://github.com/rust-lang/libc/actions • https://cirrus-ci.com/github/rust-lang/libc • https://crates.io/crates/libc • https://docs.rs/libc
https://api.github.com/repos/rust-lang/libc/releases/284583966
Release info
Release version:
Release description
Code Examples
Patch update: 0.2.182 → 0.2.183
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add libcOr add to Cargo.toml: libc = "0.2.183"