History

Replace all docsrs config by the document-features feature

Urgau committed 2 years ago

Commit bb3224c1 parent 2b80d8463 files · +93 −125Browse files

Showing the changes to gix-commitgraph (2 of 63 files). Show all

Unified · Split

2 files
  1. gix-commitgraph/Cargo.toml +0 −1
  2. gix-commitgraph/src/lib.rs +3 −3
gix-commitgraph/Cargo.toml+0−1
@@ -36,4 +36,3 @@ gix-date = { path = "../gix-date" } · 35 unmodified lines
36[package.metadata.docs.rs]36[package.metadata.docs.rs]
37all-features = true37all-features = true
38features = ["document-features"]38features = ["document-features"]
39rustdoc-args = ["--cfg", "docsrs"]
gix-commitgraph/src/lib.rs+3−3
@@ -9,10 +9,10 @@ · 8 unmodified lines
9//! Eventually, git will merge these files together as the number of files grows.9//! Eventually, git will merge these files together as the number of files grows.
10//! ## Feature Flags10//! ## Feature Flags
11#![cfg_attr(11#![cfg_attr(
12 feature = "document-features",12 all(doc, feature = "document-features"),
13 cfg_attr(doc, doc = ::document_features::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#![deny(missing_docs, rust_2018_idioms, unsafe_code)]16#![deny(missing_docs, rust_2018_idioms, unsafe_code)]
17 17
18use std::path::Path;18use std::path::Path;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t