Skip to content

Commit ce71203

Browse files
committed
update for hyper 1.0 release
1 parent 7fb4b41 commit ce71203

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/check_guides.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ EOF
1919
fi
2020
if [ $value = stable ]; then
2121
cat >> "$value/Cargo.toml" <<-EOF
22-
hyper = { version = "1.0.0-rc.4", features = ["full"] }
22+
hyper = { version = "1", features = ["full"] }
2323
tokio = { version = "1", features = ["full"] }
24-
http-body-util = "0.1.0-rc.3"
24+
http-body-util = "0.1"
2525
hyper-util = { git = "https://github.com/hyperium/hyper-util.git" }
2626
EOF
2727
cargo build --manifest-path "$value/Cargo.toml"

_stable/client/basic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Let's tell Cargo about our dependencies by having this in the Cargo.toml.
1111

1212
```toml
1313
[dependencies]
14-
hyper = { version = "1.0.0-rc.4", features = ["full"] }
14+
hyper = { version = "1", features = ["full"] }
1515
tokio = { version = "1", features = ["full"] }
16-
http-body-util = "0.1.0-rc.3"
16+
http-body-util = "0.1"
1717
hyper-util = { git = "https://github.com/hyperium/hyper-util.git" }
1818
```
1919

_stable/server/hello-world.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ First we need to declare our dependencies, let's add the following to our `Cargo
99

1010
```toml
1111
[dependencies]
12-
hyper = { version = "1.0.0-rc.4", features = ["full"] }
12+
hyper = { version = "1", features = ["full"] }
1313
tokio = { version = "1", features = ["full"] }
14-
http-body-util = "0.1.0-rc.3"
14+
http-body-util = "0.1"
1515
hyper-util = { git = "https://github.com/hyperium/hyper-util.git" }
1616
```
1717

0 commit comments

Comments
 (0)