Skip to content

Commit

Permalink
Build otg_fs/hs module docs on docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Disasm committed Feb 14, 2020
1 parent c61daa4 commit 882259b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ repository = "https://github.com/stm32-rs/stm32f4xx-hal"
version = "0.6.0"

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

[dependencies]
cortex-m = ">=0.5.8,<0.7"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub mod i2c;
))]
pub mod otg_fs;
#[cfg(all(
feature = "usb_hs",
any(feature = "usb_hs", docsrs),
any(
feature = "stm32f405",
feature = "stm32f407",
Expand Down

0 comments on commit 882259b

Please sign in to comment.