Showing the changes to gix-commitgraph (2 of 63 files). Show all
Unified · Split
| @@ -36,4 +36,3 @@ gix-date = { path = "../gix-date" } · 35 unmodified lines | ||
| 36 | 36 | [package.metadata.docs.rs] |
| 37 | 37 | all-features = true |
| 38 | 38 | features = ["document-features"] |
| 39 | −rustdoc-args = ["--cfg", "docsrs"] | |
| @@ -9,10 +9,10 @@ · 8 unmodified lines | ||
| 9 | 9 | //! Eventually, git will merge these files together as the number of files grows. |
| 10 | 10 | //! ## Feature Flags |
| 11 | 11 | #![cfg_attr( |
| 12 | − feature = "document-features", | |
| 13 | − cfg_attr(doc, doc = ::document_features::document_features!()) | |
| 12 | + all(doc, feature = "document-features"), | |
| 13 | + doc = ::document_features::document_features!() | |
| 14 | 14 | )] |
| 15 | −#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] | |
| 15 | +#![cfg_attr(all(doc, feature = "document-features"), feature(doc_cfg, doc_auto_cfg))] | |
| 16 | 16 | #![deny(missing_docs, rust_2018_idioms, unsafe_code)] |
| 17 | 17 | |
| 18 | 18 | use std::path::Path; |