Add a GitHub action for building docs. (#89)

This helps ensure we don't break that doc build.
This commit is contained in:
Jacob Hoffman-Andrews
2020-06-24 12:20:07 -07:00
committed by GitHub
parent 4e1e3d1ad4
commit 3f78953874
2 changed files with 7 additions and 0 deletions

View File

@@ -26,3 +26,9 @@ jobs:
with:
command: test
args: --no-default-features --features "json tls ${{ matrix.feature }}"
- name: Docs
uses: actions-rs/cargo@v1
with:
command: doc
# Keep in sync with Cargo.toml's [package.metadata.docs.rs]
args: --no-default-features --features "tls json charset cookies socks-proxy"