Skip to content

Commit

Permalink
chore: display platform-specific documentation on docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Mar 10, 2024
1 parent dd13898 commit 012ef11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ jobs:
- name: Publish workspace packages
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}
run: cargo publish -p static-web-server
RUSTDOCFLAGS: '--cfg=docsrs --deny=warnings'
run: cargo publish --all-features --package static-web-server
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
#![deny(warnings)]
#![deny(rust_2018_idioms)]
#![deny(dead_code)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

// Extern crates
#[macro_use]
Expand Down

0 comments on commit 012ef11

Please sign in to comment.