• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13name = "libc"
14version = "0.2.119"
15authors = ["The Rust Project Developers"]
16build = "build.rs"
17exclude = [
18    "/ci/*",
19    "/.github/*",
20    "/.cirrus.yml",
21    "/triagebot.toml",
22]
23description = """
24Raw FFI bindings to platform libraries like libc.
25"""
26homepage = "https://github.com/rust-lang/libc"
27documentation = "https://docs.rs/libc/"
28readme = "README.md"
29keywords = [
30    "libc",
31    "ffi",
32    "bindings",
33    "operating",
34    "system",
35]
36categories = [
37    "external-ffi-bindings",
38    "no-std",
39    "os",
40]
41license = "MIT OR Apache-2.0"
42repository = "https://github.com/rust-lang/libc"
43
44[package.metadata.docs.rs]
45features = [
46    "const-extern-fn",
47    "extra_traits",
48]
49
50[dependencies.rustc-std-workspace-core]
51version = "1.0.0"
52optional = true
53
54[features]
55align = []
56const-extern-fn = []
57default = ["std"]
58extra_traits = []
59rustc-dep-of-std = [
60    "align",
61    "rustc-std-workspace-core",
62]
63std = []
64use_std = ["std"]
65