blob: c3373314e5f2ff9d3321f5117b69178240cec393 [file] [log] [blame]
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -07001# 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
Joel Galenson99a00422021-09-22 11:09:44 -07006# to registry (e.g., crates.io) dependencies.
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -07007#
Joel Galenson99a00422021-09-22 11:09:44 -07008# 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.
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070011
Alex Crichton68fe98b2015-01-13 07:53:42 -080012[package]
Alex Crichton68fe98b2015-01-13 07:53:42 -080013name = "libc"
David LeGareb38fde02022-03-02 16:21:11 +000014version = "0.2.119"
Alex Crichton68fe98b2015-01-13 07:53:42 -080015authors = ["The Rust Project Developers"]
Isaac Woods79c80c42018-09-17 19:33:52 +010016build = "build.rs"
David LeGareb38fde02022-03-02 16:21:11 +000017exclude = [
18 "/ci/*",
19 "/.github/*",
20 "/.cirrus.yml",
21 "/triagebot.toml",
22]
23description = """
24Raw FFI bindings to platform libraries like libc.
25"""
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070026homepage = "https://github.com/rust-lang/libc"
Haibo Huang4e6868a2020-12-07 21:09:00 -080027documentation = "https://docs.rs/libc/"
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070028readme = "README.md"
David LeGareb38fde02022-03-02 16:21:11 +000029keywords = [
30 "libc",
31 "ffi",
32 "bindings",
33 "operating",
34 "system",
35]
36categories = [
37 "external-ffi-bindings",
38 "no-std",
39 "os",
40]
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070041license = "MIT OR Apache-2.0"
42repository = "https://github.com/rust-lang/libc"
David LeGareb38fde02022-03-02 16:21:11 +000043
Joel Galenson99a00422021-09-22 11:09:44 -070044[package.metadata.docs.rs]
David LeGareb38fde02022-03-02 16:21:11 +000045features = [
46 "const-extern-fn",
47 "extra_traits",
48]
49
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070050[dependencies.rustc-std-workspace-core]
51version = "1.0.0"
52optional = true
Alex Crichton91bd0792018-11-19 22:14:05 -080053
Alex Crichton2c57e362015-09-15 17:30:53 -070054[features]
Linus Färnstrand6abe0b52018-07-17 20:12:59 +020055align = []
Matthew Maurere9a2a712020-01-02 15:36:15 -080056const-extern-fn = []
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070057default = ["std"]
gnzlbga17a91c2019-02-07 11:37:21 +010058extra_traits = []
David LeGareb38fde02022-03-02 16:21:11 +000059rustc-dep-of-std = [
60 "align",
61 "rustc-std-workspace-core",
62]
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070063std = []
64use_std = ["std"]