Skip to content

Commit 4030c55

Browse files
Marweskbknapp
authored andcommitted
Tell docs.rs about the yaml feature
All the other features are either irrelevant, for nightly or already included by default so this should build with all features. https://github.com/onur/docs.rs/pull/73 Fixes #911
1 parent 2c86c8e commit 4030c55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ nightly = [] # for building with unstable Rust features (currently none)
4343
lints = ["clippy"] # Requires nightly Rust
4444
debug = [] # Enables debug messages
4545
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
46+
doc = ["yaml"] # All the features which add to documentation
4647

4748
[profile.release]
4849
opt-level = 3
@@ -82,3 +83,6 @@ rpath = false
8283
lto = false
8384
debug-assertions = true
8485
codegen-units = 4
86+
87+
[package.metadata.docs.rs]
88+
features = ["doc"]

0 commit comments

Comments
 (0)