diff --git a/.github/workflows/check_guides.sh b/.github/workflows/check_guides.sh index 4114cad..fc0d3af 100755 --- a/.github/workflows/check_guides.sh +++ b/.github/workflows/check_guides.sh @@ -22,7 +22,7 @@ EOF hyper = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] } http-body-util = "0.1" - hyper-util = { git = "https://github.com/hyperium/hyper-util.git" } + hyper-util = { version = "0.1", features = ["full"] } EOF cargo build --manifest-path "$value/Cargo.toml" fi diff --git a/_stable/client/basic.md b/_stable/client/basic.md index 9aea768..e31c5fd 100644 --- a/_stable/client/basic.md +++ b/_stable/client/basic.md @@ -14,7 +14,7 @@ Let's tell Cargo about our dependencies by having this in the Cargo.toml. hyper = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] } http-body-util = "0.1" -hyper-util = { git = "https://github.com/hyperium/hyper-util.git" } +hyper-util = { version = "0.1", features = ["full"] } ``` Now, we need to import pieces to use from our dependencies: diff --git a/_stable/server/hello-world.md b/_stable/server/hello-world.md index 2e35f8e..97839e6 100644 --- a/_stable/server/hello-world.md +++ b/_stable/server/hello-world.md @@ -12,7 +12,7 @@ First we need to declare our dependencies, let's add the following to our `Cargo hyper = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] } http-body-util = "0.1" -hyper-util = { git = "https://github.com/hyperium/hyper-util.git" } +hyper-util = { version = "0.1", features = ["full"] } ``` Next, we need to add some imports in our `main.rs` file: