Skip to content

Commit

Permalink
docs(toml-edit): display feature guarded items on docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jan 30, 2023
1 parent 5df84a5 commit 2d728d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/toml_edit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include = [
]

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
features = ["serde"]

[package.metadata.release]
Expand Down
1 change: 1 addition & 0 deletions crates/toml_edit/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![deny(missing_docs)]
// https://github.com/Marwes/combine/issues/172
#![recursion_limit = "256"]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

//! # `toml_edit`
//!
Expand Down

0 comments on commit 2d728d4

Please sign in to comment.