Skip to content

Commit 55acb2b

Browse files
committed
docs: Don't enable nightly feature for docs.rs
1 parent ae2aeaa commit 55acb2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ rust-version.workspace = true
104104
include.workspace = true
105105

106106
[package.metadata.docs.rs]
107-
all-features = true
107+
features = ["unstable-doc"]
108108
rustdoc-args = ["--generate-link-to-definition"]
109109

110110
[package.metadata.release]
@@ -120,6 +120,7 @@ pre-release-replacements = [
120120
default = ["color"]
121121
nightly = []
122122
color = ["dep:anstyle", "dep:anstream"]
123+
unstable-doc = ["default"]
123124

124125
[dependencies]
125126
anstyle = { version = "1.0.0", optional = true }

0 commit comments

Comments
 (0)