| 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] |
| 13 |
name = "libc" |
| 14 |
version = "0.2.155" |
| 15 |
authors = ["The Rust Project Developers"] |
| 16 |
build = "build.rs" |
| 17 |
exclude = [ |
| 18 |
"/ci/*", |
| 19 |
"/.github/*", |
| 20 |
"/.cirrus.yml", |
| 21 |
"/triagebot.toml", |
| 22 |
] |
| 23 |
autobins = false |
| 24 |
autoexamples = false |
| 25 |
autotests = false |
| 26 |
autobenches = false |
| 27 |
description = """ |
| 28 |
Raw FFI bindings to platform libraries like libc. |
| 29 |
""" |
| 30 |
homepage = "https://github.com/rust-lang/libc" |
| 31 |
documentation = "https://docs.rs/libc/" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"libc", |
| 35 |
"ffi", |
| 36 |
"bindings", |
| 37 |
"operating", |
| 38 |
"system", |
| 39 |
] |
| 40 |
categories = [ |
| 41 |
"external-ffi-bindings", |
| 42 |
"no-std", |
| 43 |
"os", |
| 44 |
] |
| 45 |
license = "MIT OR Apache-2.0" |
| 46 |
repository = "https://github.com/rust-lang/libc" |
| 47 |
|
| 48 |
[package.metadata.docs.rs] |
| 49 |
cargo-args = ["-Zbuild-std=core"] |
| 50 |
default-target = "x86_64-unknown-linux-gnu" |
| 51 |
features = [ |
| 52 |
"const-extern-fn", |
| 53 |
"extra_traits", |
| 54 |
] |
| 55 |
targets = [ |
| 56 |
"aarch64-apple-darwin", |
| 57 |
"aarch64-apple-ios", |
| 58 |
"aarch64-linux-android", |
| 59 |
"aarch64-pc-windows-msvc", |
| 60 |
"aarch64-unknown-freebsd", |
| 61 |
"aarch64-unknown-fuchsia", |
| 62 |
"aarch64-unknown-hermit", |
| 63 |
"aarch64-unknown-linux-gnu", |
| 64 |
"aarch64-unknown-linux-musl", |
| 65 |
"aarch64-unknown-netbsd", |
| 66 |
"aarch64-unknown-openbsd", |
| 67 |
"aarch64-wrs-vxworks", |
| 68 |
"arm-linux-androideabi", |
| 69 |
"arm-unknown-linux-gnueabi", |
| 70 |
"arm-unknown-linux-gnueabihf", |
| 71 |
"arm-unknown-linux-musleabi", |
| 72 |
"arm-unknown-linux-musleabihf", |
| 73 |
"armebv7r-none-eabi", |
| 74 |
"armebv7r-none-eabihf", |
| 75 |
"armv5te-unknown-linux-gnueabi", |
| 76 |
"armv5te-unknown-linux-musleabi", |
| 77 |
"armv7-linux-androideabi", |
| 78 |
"armv7-unknown-linux-gnueabihf", |
| 79 |
"armv7-unknown-linux-musleabihf", |
| 80 |
"armv7-wrs-vxworks-eabihf", |
| 81 |
"armv7r-none-eabi", |
| 82 |
"armv7r-none-eabihf", |
| 83 |
"hexagon-unknown-linux-musl", |
| 84 |
"i586-pc-windows-msvc", |
| 85 |
"i586-unknown-linux-gnu", |
| 86 |
"i586-unknown-linux-musl", |
| 87 |
"i686-linux-android", |
| 88 |
"i686-pc-windows-gnu", |
| 89 |
"i686-pc-windows-msvc", |
| 90 |
"i686-pc-windows-msvc", |
| 91 |
"i686-unknown-freebsd", |
| 92 |
"i686-unknown-haiku", |
| 93 |
"i686-unknown-linux-gnu", |
| 94 |
"i686-unknown-linux-musl", |
| 95 |
"i686-unknown-netbsd", |
| 96 |
"i686-unknown-openbsd", |
| 97 |
"i686-wrs-vxworks", |
| 98 |
"mips-unknown-linux-gnu", |
| 99 |
"mips-unknown-linux-musl", |
| 100 |
"mips64-unknown-linux-gnuabi64", |
| 101 |
"mips64-unknown-linux-muslabi64", |
| 102 |
"mips64el-unknown-linux-gnuabi64", |
| 103 |
"mips64el-unknown-linux-muslabi64", |
| 104 |
"mipsel-sony-psp", |
| 105 |
"mipsel-unknown-linux-gnu", |
| 106 |
"mipsel-unknown-linux-musl", |
| 107 |
"nvptx64-nvidia-cuda", |
| 108 |
"powerpc-unknown-linux-gnu", |
| 109 |
"powerpc-unknown-linux-gnuspe", |
| 110 |
"powerpc-unknown-netbsd", |
| 111 |
"powerpc-wrs-vxworks", |
| 112 |
"powerpc-wrs-vxworks-spe", |
| 113 |
"powerpc64-unknown-freebsd", |
| 114 |
"powerpc64-unknown-linux-gnu", |
| 115 |
"powerpc64-wrs-vxworks", |
| 116 |
"powerpc64le-unknown-linux-gnu", |
| 117 |
"riscv32gc-unknown-linux-gnu", |
| 118 |
"riscv32i-unknown-none-elf", |
| 119 |
"riscv32imac-unknown-none-elf", |
| 120 |
"riscv32imc-unknown-none-elf", |
| 121 |
"riscv64gc-unknown-freebsd", |
| 122 |
"riscv64gc-unknown-hermit", |
| 123 |
"riscv64gc-unknown-linux-gnu", |
| 124 |
"riscv64gc-unknown-linux-musl", |
| 125 |
"riscv64gc-unknown-none-elf", |
| 126 |
"riscv64imac-unknown-none-elf", |
| 127 |
"s390x-unknown-linux-gnu", |
| 128 |
"s390x-unknown-linux-musl", |
| 129 |
"sparc-unknown-linux-gnu", |
| 130 |
"sparc64-unknown-linux-gnu", |
| 131 |
"sparc64-unknown-netbsd", |
| 132 |
"sparcv9-sun-solaris", |
| 133 |
"thumbv6m-none-eabi", |
| 134 |
"thumbv7em-none-eabi", |
| 135 |
"thumbv7em-none-eabihf", |
| 136 |
"thumbv7m-none-eabi", |
| 137 |
"thumbv7neon-linux-androideabi", |
| 138 |
"thumbv7neon-unknown-linux-gnueabihf", |
| 139 |
"wasm32-unknown-emscripten", |
| 140 |
"wasm32-unknown-unknown", |
| 141 |
"wasm32-wasi", |
| 142 |
"x86_64-apple-darwin", |
| 143 |
"x86_64-apple-ios", |
| 144 |
"x86_64-fortanix-unknown-sgx", |
| 145 |
"x86_64-linux-android", |
| 146 |
"x86_64-pc-solaris", |
| 147 |
"x86_64-pc-windows-gnu", |
| 148 |
"x86_64-pc-windows-msvc", |
| 149 |
"x86_64-unknown-dragonfly", |
| 150 |
"x86_64-unknown-freebsd", |
| 151 |
"x86_64-unknown-fuchsia", |
| 152 |
"x86_64-unknown-haiku", |
| 153 |
"x86_64-unknown-hermit", |
| 154 |
"x86_64-unknown-illumos", |
| 155 |
"x86_64-unknown-l4re-uclibc", |
| 156 |
"x86_64-unknown-linux-gnu", |
| 157 |
"x86_64-unknown-linux-gnux32", |
| 158 |
"x86_64-unknown-linux-musl", |
| 159 |
"x86_64-unknown-netbsd", |
| 160 |
"x86_64-unknown-openbsd", |
| 161 |
"x86_64-unknown-redox", |
| 162 |
"x86_64-wrs-vxworks", |
| 163 |
] |
| 164 |
|
| 165 |
[lib] |
| 166 |
name = "libc" |
| 167 |
path = "src/lib.rs" |
| 168 |
|
| 169 |
[[test]] |
| 170 |
name = "const_fn" |
| 171 |
path = "tests/const_fn.rs" |
| 172 |
|
| 173 |
[dependencies.rustc-std-workspace-core] |
| 174 |
version = "1.0.0" |
| 175 |
optional = true |
| 176 |
|
| 177 |
[features] |
| 178 |
align = [] |
| 179 |
const-extern-fn = [] |
| 180 |
default = ["std"] |
| 181 |
extra_traits = [] |
| 182 |
rustc-dep-of-std = [ |
| 183 |
"align", |
| 184 |
"rustc-std-workspace-core", |
| 185 |
] |
| 186 |
std = [] |
| 187 |
use_std = ["std"] |