From 9236d18511ad7fd97be64e51f7a9abb6d84a32a4 Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Mon, 20 Sep 2021 20:37:44 +1000
Subject: [PATCH] Revert Cargo bug workaround (#297)

---
 .github/workflows/ci.yml           | 10 ++--------
 .github/workflows/publish-docs.yml |  5 +----
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e3316c5..96dad89 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,10 +55,7 @@ jobs:
         override: true
 
     - name: Build documentation
-      run: |
-        # https://github.com/rust-lang/cargo/issues/9919
-        export CARGO_HTTP_MULTIPLEXING=false
-        cd docs && make -j$(nproc)
+      run: cd docs && make -j$(nproc)
 
   examples:
     name: Examples
@@ -77,10 +74,7 @@ jobs:
         override: true
 
     - name: Doctest
-      run: |
-        # https://github.com/rust-lang/cargo/issues/9919
-        export CARGO_HTTP_MULTIPLEXING=false
-        cd doctest && cargo check
+      run: cd doctest && cargo check
 
   rustfmt:
     name: Rustfmt
diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml
index 8ff6167..6da913d 100644
--- a/.github/workflows/publish-docs.yml
+++ b/.github/workflows/publish-docs.yml
@@ -33,10 +33,7 @@ jobs:
         override: true
 
     - name: Build documentation
-      run: |
-        # https://github.com/rust-lang/cargo/issues/9919
-        export CARGO_HTTP_MULTIPLEXING=false
-        cd docs && make -j$(nproc)
+      run: cd docs && make -j$(nproc)
 
     - name: Deploy
       uses: peaceiris/actions-gh-pages@v3