|
16 | 16 | </div> |
17 | 17 |
|
18 | 18 | `rustix` provides efficient memory-safe and [I/O-safe] wrappers to POSIX-like, |
19 | | -Unix-like, Linux, and Winsock syscall-like APIs, with configurable backends. |
20 | | -It uses Rust references, slices, and return values instead of raw pointers, and |
| 19 | +Unix-like, Linux, and Winsock syscall-like APIs, with configurable backends. It |
| 20 | +uses Rust references, slices, and return values instead of raw pointers, and |
21 | 21 | [I/O safety types] instead of raw file descriptors, providing memory safety, |
22 | 22 | [I/O safety], and [provenance]. It uses `Result`s for reporting errors, |
23 | 23 | [`bitflags`] instead of bare integer flags, an [`Arg`] trait with optimizations |
@@ -46,14 +46,14 @@ more portable APIs built on this functionality, see the [`cap-std`], [`memfd`], |
46 | 46 | Windows, and is portable to many OS's. |
47 | 47 |
|
48 | 48 | The linux_raw backend is enabled by default on platforms which support it. To |
49 | | -enable the libc backend instead, either enable the "use-libc" cargo feature, |
50 | | -or set the `RUSTFLAGS` environment variable to `--cfg=rustix_use_libc` when |
| 49 | +enable the libc backend instead, either enable the "use-libc" cargo feature, or |
| 50 | +set the `RUSTFLAGS` environment variable to `--cfg=rustix_use_libc` when |
51 | 51 | building. |
52 | 52 |
|
53 | 53 | ## Cargo features |
54 | 54 |
|
55 | | -The modules [`rustix::io`], [`rustix::fd`], and [`rustix::ffi`] are enabled |
56 | | -by default. The rest of the API is conditional with cargo feature flags: |
| 55 | +The modules [`rustix::io`], [`rustix::fd`], and [`rustix::ffi`] are enabled by |
| 56 | +default. The rest of the API is conditional with cargo feature flags: |
57 | 57 |
|
58 | 58 | | Name | Description | |
59 | 59 | | ---------- | -------------------------------------------------------------- | |
|
0 commit comments