Skip to content

Commit

Permalink
add docsrs attr (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
femshima authored May 11, 2024
1 parent 60086d8 commit d1bece8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ default = ["htsvoice"]
binary = ["htsvoice", "dep:hound"]
htsvoice = ["dep:nom"]

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

[[example]]
name = "is-bonsai"
required-features = ["binary"]
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

mod constants;

pub mod duration;
Expand Down

0 comments on commit d1bece8

Please sign in to comment.