Skip to content

Commit 2e1cb79

Browse files
committed
chore: Change order of features
1 parent ef3b802 commit 2e1cb79

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ test-strategy = "0.3.1"
4545

4646
[features]
4747
default = ["std"]
48-
std = []
49-
nightly = ["extended_io_error"]
5048
extended_io_error = ["std"]
49+
nightly = ["extended_io_error"]
50+
std = []
5151

5252
[lints.clippy]
5353
cargo = "warn"

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ sysexits = "0.8.5"
2929

3030
### Crate features
3131

32-
#### `std`
32+
#### `extended_io_error`
3333

34-
Enables features that depend on the standard library. This is enabled by
35-
default.
34+
Enables features that depend on the `io_error_inprogress` and the
35+
`io_error_more` features. This also enables `std`. This is implied by `nightly`.
3636

3737
#### `nightly`
3838

3939
Enables features that depend on the nightly Rust.
4040

41-
#### `extended_io_error`
41+
#### `std`
4242

43-
Enables features that depend on the `io_error_inprogress` and the
44-
`io_error_more` features. This also enables `std`. This is implied by `nightly`.
43+
Enables features that depend on the standard library. This is enabled by
44+
default.
4545

4646
### `no_std` support
4747

0 commit comments

Comments
 (0)