Commit 4904f55
committed
docs: fix docs.rs build
The current documentation build in docs.rs breaks with the following
error:
[INFO] [stderr] error[E0557]: feature has been removed
[INFO] [stderr] --> src/lib.rs:11:29
[INFO] [stderr] |
[INFO] [stderr] 11 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
[INFO] [stderr] | ^^^^^^^^^^^^ feature has been removed
[INFO] [stderr] |
[INFO] [stderr] = note: removed in 1.92.0; see <rust-lang/rust#138907> for more information
[INFO] [stderr] = note: merged into `doc_cfg`
So replace `doc_auto_cfg` with `doc_cfg`, which generates the expected
docs, showing the required features for each module.
Signed-off-by: Carlos López <carlos.lopezr4096@gmail.com>1 parent 7b6c2b3 commit 4904f55
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments