Skip to content

Commit

Permalink
Show panicking APIs in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Jan 17, 2020
1 parent 54f0c87 commit fc6fdf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
toolchain: nightly # rust-lang/rust#43466, rust-lang/rust#43781
override: true

- name: Run `cargo doc --features serde,deprecated`
- name: Run `cargo doc --features serde,deprecated,panicking-api`
uses: actions-rs/cargo@v1
with:
command: doc
args: --features serde,deprecated
args: --features serde,deprecated,panicking-api

- name: Build & publish documentation
uses: JamesIves/github-pages-deploy-action@releases/v2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."

[package.metadata.docs.rs]
all-features = true
features = ["deprecated", "panicking-api", "serde"]

[features]
default = ["deprecated"]
Expand Down

0 comments on commit fc6fdf5

Please sign in to comment.