diff --git a/.github/workflows/checks_and_tests.yml b/.github/workflows/checks_and_tests.yml index fd561cb3..67c8d178 100644 --- a/.github/workflows/checks_and_tests.yml +++ b/.github/workflows/checks_and_tests.yml @@ -39,3 +39,11 @@ jobs: command: test env: RUSTFLAGS: -D warnings + + - name: Run rustdoc + uses: actions-rs/cargo@v1 + with: + command: doc + args: "--no-deps" # We don't have time to waste. + env: + RUSTFLAGS: -D warnings diff --git a/Cargo.toml b/Cargo.toml index 7edff2a7..ee8b11ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ tokio = {version = "1.0", features = ["rt", "macros", "rt-multi-thread"]} winapi = {version = "0.3", features = ["std", "winbase", "winerror", "processthreadsapi", "fileapi", "handleapi", "namedpipeapi"]} [features] -default = ["nonblocking"] +default = [] nonblocking = ["blocking", "futures"] doc_cfg = []