@@ -11,8 +11,8 @@ This crate exports all underlying platform types, functions, and constants under
11
11
the crate root, so all items are accessible as ` libc::foo ` . The types and values
12
12
of all the exported APIs match the platform that libc is compiled for.
13
13
14
- Windows API bindings are not included in this crate. If you are looking for WinAPI
15
- bindings, consider using crates like [ windows-sys] .
14
+ Windows API bindings are not included in this crate. If you are looking for
15
+ WinAPI bindings, consider using crates like [ windows-sys] .
16
16
17
17
More detailed information about the design of this library can be found in its
18
18
[ associated RFC] [ rfc ] .
@@ -43,32 +43,31 @@ libc = "0.2"
43
43
44
44
## Features
45
45
46
- * ` std ` : by default ` libc ` links to the standard library. Disable this
47
- feature to remove this dependency and be able to use ` libc ` in ` #![no_std] `
48
- crates.
46
+ * ` std ` : by default ` libc ` links to the standard library. Disable this feature
47
+ to remove this dependency and be able to use ` libc ` in ` #![no_std] ` crates.
49
48
50
49
* ` extra_traits ` : all ` struct ` s implemented in ` libc ` are ` Copy ` and ` Clone ` .
51
50
This feature derives ` Debug ` , ` Eq ` , ` Hash ` , and ` PartialEq ` .
52
51
53
- * ` const-extern-fn ` : Changes some ` extern fn ` s into ` const extern fn ` s.
54
- If you use Rust >= 1.62, this feature is implicitly enabled.
55
- Otherwise it requires a nightly rustc.
52
+ * ` const-extern-fn ` : Changes some ` extern fn ` s into ` const extern fn ` s. If you
53
+ use Rust >= 1.62, this feature is implicitly enabled. Otherwise it requires a
54
+ nightly rustc.
56
55
57
56
## Rust version support
58
57
59
- The minimum supported Rust toolchain version is currently ** Rust 1.63.0**
60
- (libc does not currently have any policy regarding changes to the minimum
61
- supported Rust version; such policy is a work in progress).
58
+ The minimum supported Rust toolchain version is currently ** Rust 1.63.0** (libc
59
+ does not currently have any policy regarding changes to the minimum supported
60
+ Rust version; such policy is a work in progress).
62
61
63
62
## Platform support
64
63
65
- You can see the platform(target)-specific docs on [ docs.rs] , select a platform you want to see.
64
+ You can see the platform(target)-specific docs on [ docs.rs] , select a platform
65
+ you want to see.
66
66
67
- See
68
- [ ` ci/build.sh ` ] ( https://github.com/rust-lang/libc/blob/HEAD/ci/build.sh )
69
- for the platforms on which ` libc ` is guaranteed to build for each Rust
70
- toolchain. The test-matrix at [ GitHub Actions] and [ Cirrus CI] show the
71
- platforms in which ` libc ` tests are run.
67
+ See [ ` ci/build.sh ` ] ( https://github.com/rust-lang/libc/blob/HEAD/ci/build.sh ) for
68
+ the platforms on which ` libc ` is guaranteed to build for each Rust toolchain.
69
+ The test-matrix at [ GitHub Actions] and [ Cirrus CI] show the platforms in which
70
+ ` libc ` tests are run.
72
71
73
72
<div class =" platform_docs " ></div >
74
73
@@ -86,13 +85,13 @@ at your option.
86
85
87
86
## Contributing
88
87
89
- We welcome all people who want to contribute. Please see the [ contributing
90
- instructions] for more information.
88
+ We welcome all people who want to contribute. Please see the
89
+ [ contributing instructions] for more information.
91
90
92
91
[ contributing instructions ] : https://github.com/rust-lang/libc/blob/HEAD/CONTRIBUTING.md
93
92
94
- Contributions in any form (issues, pull requests, etc.) to this project
95
- must adhere to Rust's [ Code of Conduct] .
93
+ Contributions in any form (issues, pull requests, etc.) to this project must
94
+ adhere to Rust's [ Code of Conduct] .
96
95
97
96
[ Code of Conduct ] : https://www.rust-lang.org/policies/code-of-conduct
98
97
0 commit comments