From a1835d651074dc600a7e874c52543f7f5588ee51 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Fri, 14 Feb 2020 07:31:29 +0900 Subject: [PATCH 1/2] Disable coverage for PRs --- .github/workflows/linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 875ce10b4..7cabb8020 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -73,12 +73,12 @@ jobs: args: --package=awc --no-default-features --features=rustls -- --nocapture - name: Generate coverage file - if: matrix.version == 'stable' && (github.ref == 'master' || github.event_name == 'pull_request') + if: matrix.version == 'stable' && github.ref == 'refs/heads/master' run: | cargo install cargo-tarpaulin cargo tarpaulin --out Xml - name: Upload to Codecov - if: matrix.version == 'stable' && (github.ref == 'master' || github.event_name == 'pull_request') + if: matrix.version == 'stable' && github.ref == 'refs/heads/master' uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} From 6ab7cfa2bef32eef7dca2c75223dc4199aca0aec Mon Sep 17 00:00:00 2001 From: Masayuki Nagamachi Date: Sun, 16 Feb 2020 04:18:31 +0900 Subject: [PATCH 2/2] Remove descriptions about undefined `uds` feature from docs (#1356) --- src/server.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server.rs b/src/server.rs index 11cfbb6bc..97dd9f7f7 100644 --- a/src/server.rs +++ b/src/server.rs @@ -443,8 +443,6 @@ where #[cfg(unix)] /// Start listening for unix domain connections on existing listener. - /// - /// This method is available with `uds` feature. pub fn listen_uds( mut self, lst: std::os::unix::net::UnixListener, @@ -483,8 +481,6 @@ where #[cfg(unix)] /// Start listening for incoming unix domain connections. - /// - /// This method is available with `uds` feature. pub fn bind_uds(mut self, addr: A) -> io::Result where A: AsRef,