blob: 70650d9a98649afe120856f46e3d903ea810727a [file] [log] [blame]
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -07001[package]
2name = "libc"
David LeGareb38fde02022-03-02 16:21:11 +00003version = "0.2.119"
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -07004authors = ["The Rust Project Developers"]
5license = "MIT OR Apache-2.0"
6readme = "README.md"
7repository = "https://github.com/rust-lang/libc"
8homepage = "https://github.com/rust-lang/libc"
Haibo Huang4e6868a2020-12-07 21:09:00 -08009documentation = "https://docs.rs/libc/"
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070010keywords = ["libc", "ffi", "bindings", "operating", "system" ]
11categories = ["external-ffi-bindings", "no-std", "os"]
12build = "build.rs"
Haibo Huang4e6868a2020-12-07 21:09:00 -080013exclude = ["/ci/*", "/.github/*", "/.cirrus.yml", "/triagebot.toml"]
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070014description = """
15Raw FFI bindings to platform libraries like libc.
16"""
17
Joel Galenson99a00422021-09-22 11:09:44 -070018[package.metadata.docs.rs]
19features = ["const-extern-fn", "extra_traits"]
20
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070021[dependencies]
22rustc-std-workspace-core = { version = "1.0.0", optional = true }
23
24[features]
25default = ["std"]
26std = []
27align = []
28rustc-dep-of-std = ['align', 'rustc-std-workspace-core']
29extra_traits = []
Matthew Maurere9a2a712020-01-02 15:36:15 -080030const-extern-fn = []
Chih-Hung Hsiehe5870cf2019-10-25 17:35:48 -070031# use_std is deprecated, use `std` instead
32use_std = [ 'std' ]
33
34[workspace]
35members = ["libc-test"]