Skip to content

Commit

Permalink
Enable features display for docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Jan 7, 2022
1 parent 3567792 commit 7e5eb4d
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 @@ -111,3 +111,7 @@ uuid = { version = "0.8", features = ["v4", "serde"] }
difference = "2.0"
did-method-key = { path = "./did-key" }
tokio = { version = "1.0", features = ["macros"] }

[package.metadata.docs.rs]
features = ["secp256r1", "secp256k1", "ripemd-160", "http-did"]
rustdoc-args = ["--cfg", "docsrs"]
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))]

pub mod bbs;
pub mod blakesig;
pub mod caip10;
Expand Down

0 comments on commit 7e5eb4d

Please # to comment.