Skip to content

Commit 8250039

Browse files
00xcroypat
authored andcommitted
Build docs.rs documentation with remote_endpoint feature
The current documentation build in docs.rs does not include the remote_endpoint feature, which might lead so users of the crate not being aware of its existence. Signed-off-by: Carlos López <[email protected]>
1 parent 6970de9 commit 8250039

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Upcoming version
2+
3+
## Changed
4+
5+
- Added `remote_endpoint` feature to generated docs.rs documentation.
6+
17
# v0.3.0
28

39
## Changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ libc = "0.2.39"
1616
[dev-dependencies]
1717
criterion = "0.3.5"
1818

19+
[package.metadata.docs.rs]
20+
all-features = true
21+
rustdoc-args = ["--cfg", "docsrs"]
22+
1923
[features]
2024
remote_endpoint = []
2125
test_utilities = []

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
//! Event Manager traits and implementation.
55
#![deny(missing_docs)]
6+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
67

78
use std::cell::RefCell;
89
use std::ops::{Deref, DerefMut};

0 commit comments

Comments
 (0)