{"id":13484784,"url":"https://github.com/rust-lang/libc","last_synced_at":"2026-04-13T12:02:18.442Z","repository":{"id":25759510,"uuid":"29197565","full_name":"rust-lang/libc","owner":"rust-lang","description":"Raw bindings to platform APIs for Rust","archived":false,"fork":false,"pushed_at":"2026-01-26T09:50:32.000Z","size":47292,"stargazers_count":2468,"open_issues_count":187,"forks_count":1199,"subscribers_count":39,"default_branch":"main","last_synced_at":"2026-01-26T14:37:14.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.rs/libc","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-01-13T15:54:27.000Z","updated_at":"2026-01-26T09:50:35.000Z","dependencies_parsed_at":"2026-01-23T00:01:31.047Z","dependency_job_id":null,"html_url":"https://github.com/rust-lang/libc","commit_stats":{"total_commits":4739,"total_committers":738,"mean_commits":6.421409214092141,"dds":0.9115847225152985,"last_synced_commit":"39a6799d350b36e40f1cd30ad09e25460bc1ccb6"},"previous_names":[],"tags_count":232,"template":false,"template_full_name":null,"purl":"pkg:github/rust-lang/libc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/libc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibc/sbom","scorecard":{"id":49711,"data":{"date":"2025-08-04","repo":{"name":"github.com/rust-lang/libc","commit":"458c5a0fb8668ec2f19f4a8ce023934809c58e52"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":6.1,"checks":[{"name":"Code-Review","score":7,"reason":"Found 17/23 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yaml:7","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/rust-lang/.github/SECURITY.md:1","Info: Found linked content: github.com/rust-lang/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/rust-lang/.github/SECURITY.md:1","Info: Found text in security policy: github.com/rust-lang/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2018-0015"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:143: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:146: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:168: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:291: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:293: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:315: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:324: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:332: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:335: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:252: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:255: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:273: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/rust-lang/libc/release.yaml/main?enable=pin","Warn: containerImage not pinned by hash: ci/docker/aarch64-linux-android/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/aarch64-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/aarch64-unknown-linux-musl/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/arm-linux-androideabi/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/arm-unknown-linux-gnueabihf/Dockerfile:1: pin your Docker image by updating ubuntu:23.10 to ubuntu:23.10@sha256:fd7fe639db24c4e005643921beea92bc449aac4f4d40d60cd9ad9ab6456aec01","Warn: containerImage not pinned by hash: ci/docker/arm-unknown-linux-musleabihf/Dockerfile:1: pin your Docker image by updating ubuntu:23.10 to ubuntu:23.10@sha256:fd7fe639db24c4e005643921beea92bc449aac4f4d40d60cd9ad9ab6456aec01","Warn: containerImage not pinned by hash: ci/docker/armv7-unknown-linux-uclibceabihf/Dockerfile:1: pin your Docker image by updating ubuntu:23.10 to ubuntu:23.10@sha256:fd7fe639db24c4e005643921beea92bc449aac4f4d40d60cd9ad9ab6456aec01","Warn: containerImage not pinned by hash: ci/docker/asmjs-unknown-emscripten/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/i686-linux-android/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/i686-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:23.10 to ubuntu:23.10@sha256:fd7fe639db24c4e005643921beea92bc449aac4f4d40d60cd9ad9ab6456aec01","Warn: containerImage not pinned by hash: ci/docker/i686-unknown-linux-musl/Dockerfile:1: pin your Docker image by updating ubuntu:23.10 to ubuntu:23.10@sha256:fd7fe639db24c4e005643921beea92bc449aac4f4d40d60cd9ad9ab6456aec01","Warn: containerImage not pinned by hash: ci/docker/loongarch64-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/loongarch64-unknown-linux-musl/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/powerpc-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:23.10 to ubuntu:23.10@sha256:fd7fe639db24c4e005643921beea92bc449aac4f4d40d60cd9ad9ab6456aec01","Warn: containerImage not pinned by hash: ci/docker/powerpc64-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/powerpc64le-unknown-linux-musl/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/s390x-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/s390x-unknown-linux-musl/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/sparc64-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/wasm32-unknown-emscripten/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/wasm32-wasip1/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/wasm32-wasip2/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/x86_64-linux-android/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/x86_64-unknown-linux-gnu/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/x86_64-unknown-linux-gnux32/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/x86_64-unknown-linux-musl/Dockerfile:1: pin your Docker image by updating ubuntu:24.10 to ubuntu:24.10@sha256:cdf755952ed117f6126ff4e65810bf93767d4c38f5c7185b50ec1f1078b464cc","Warn: containerImage not pinned by hash: ci/docker/x86_64-unknown-redox/Dockerfile:1: pin your Docker image by updating redoxos/redoxer to redoxos/redoxer@sha256:f58e44a586bf6cda0a360cbb1903ac1f9ef8756c03a5f3cfb839d7af0eb97c58","Warn: chocoCommand not pinned by hash: ci/install-rust.sh:43","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned","Info:   0 out of  29 containerImage dependencies pinned","Info:   0 out of   1 chocoCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-14T23:29:11.484Z","repository_id":25759510,"created_at":"2025-08-14T23:29:11.485Z","updated_at":"2025-08-14T23:29:11.485Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28880835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T17:01:33.550Z","updated_at":"2026-04-13T12:02:18.432Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# libc - Raw FFI bindings to platforms' system libraries\n\n[![GHA Status]][GitHub Actions] [![Cirrus CI Status]][Cirrus CI] [![Latest Version]][crates.io] [![Documentation]][docs.rs] ![License]\n\n`libc` provides all of the definitions necessary to easily interoperate with C\ncode (or \"C-like\" code) on each of the platforms that Rust supports. This\nincludes type definitions (e.g. `c_int`), constants (e.g. `EINVAL`) as well as\nfunction headers (e.g. `malloc`).\n\nThis crate exports all underlying platform types, functions, and constants under\nthe crate root, so all items are accessible as `libc::foo`. The types and values\nof all the exported APIs match the platform that libc is compiled for.\n\nWindows API bindings are not included in this crate. If you are looking for\nWinAPI bindings, consider using crates like [windows-sys].\n\nMore detailed information about the design of this library can be found in its\n[associated RFC][rfc].\n\n[rfc]: https://github.com/rust-lang/rfcs/blob/HEAD/text/1291-promote-libc.md\n[windows-sys]: https://docs.rs/windows-sys\n\n## v1.0 Roadmap\n\nCurrently, `libc` has two active branches: `main` for the upcoming v1.0 release,\nand `libc-0.2` for the currently published version. By default all pull requests\nshould target `main`; once reviewed, they can be cherry picked to the `libc-0.2`\nbranch if needed.\n\nWe will stop making new v0.2 releases once v1.0 is released.\n\nSee the section in [CONTRIBUTING.md](CONTRIBUTING.md#v10-roadmap) for more\ndetails.\n\n## Usage\n\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\nlibc = \"0.2\"\n```\n\n## Features\n\n* `std`: by default `libc` links to the standard library. Disable this feature\n  to remove this dependency and be able to use `libc` in `#![no_std]` crates.\n\n* `extra_traits`: all `struct`s implemented in `libc` are `Copy` and `Clone`.\n  This feature derives `Debug`, `Eq`, `Hash`, and `PartialEq`.\n\n## Rust version support\n\nThe minimum supported Rust toolchain version is currently **Rust 1.65**.\n\nIncreases to the MSRV are allowed to change without a major (i.e. semver-\nbreaking) release in order to avoid a ripple effect in the ecosystem. A policy\nfor when this may change is a work in progress.\n\n`libc` may continue to compile with Rust versions older than the current MSRV\nbut this is not guaranteed.\n\n## Platform support\n\nYou can see the platform(target)-specific docs on [docs.rs], select a platform\nyou want to see.\n\nSee [`ci/verify-build.py`](https://github.com/rust-lang/libc/blob/HEAD/ci/verify-build.py) for\nthe platforms on which `libc` is guaranteed to build for each Rust toolchain.\nThe test-matrix at [GitHub Actions] and [Cirrus CI] show the platforms in which\n`libc` tests are run.\n\n\u003cdiv class=\"platform_docs\"\u003e\u003c/div\u003e\n\n## License\n\nThis project is licensed under either of\n\n* [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n  ([LICENSE-APACHE](https://github.com/rust-lang/libc/blob/HEAD/LICENSE-APACHE))\n\n* [MIT License](https://opensource.org/licenses/MIT)\n  ([LICENSE-MIT](https://github.com/rust-lang/libc/blob/HEAD/LICENSE-MIT))\n\nat your option.\n\n## Contributing\n\nWe welcome all people who want to contribute. Please see the\n[contributing instructions] for more information.\n\n[contributing instructions]: https://github.com/rust-lang/libc/blob/HEAD/CONTRIBUTING.md\n\nContributions in any form (issues, pull requests, etc.) to this project must\nadhere to Rust's [Code of Conduct].\n\n[Code of Conduct]: https://www.rust-lang.org/policies/code-of-conduct\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in `libc` by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n[GitHub Actions]: https://github.com/rust-lang/libc/actions\n[GHA Status]: https://github.com/rust-lang/libc/workflows/CI/badge.svg\n[Cirrus CI]: https://cirrus-ci.com/github/rust-lang/libc\n[Cirrus CI Status]: https://api.cirrus-ci.com/github/rust-lang/libc.svg\n[crates.io]: https://crates.io/crates/libc\n[Latest Version]: https://img.shields.io/crates/v/libc.svg\n[Documentation]: https://docs.rs/libc/badge.svg\n[docs.rs]: https://docs.rs/libc\n[License]: https://img.shields.io/crates/l/libc.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Flibc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Flibc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Flibc/lists"}