Skip to content

Commit

Permalink
update to published hyper-util
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Nov 18, 2023
1 parent ce71203 commit 123ae2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_guides.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _stable/client/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _stable/server/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 123ae2a

Please sign in to comment.