Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update basic.md
The full example has at https://github.com/hyperium/hyper/blob/master/examples/client.rs will not compile straight away, as it has an additional dependency which is not mentioned in the guide
  • Loading branch information
aaronpkelly authored May 10, 2020
commit be5244197f2a858912c0d317f30972edb67a4c0c
1 change: 1 addition & 0 deletions _guides/client/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Let's tell Cargo about our dependencies by having this in the Cargo.toml.
[dependencies]
hyper = "0.13"
tokio = { version = "0.2", features = ["full"] }
pretty_env_logger = "0.4.0"
```

Now, we are ready to import the dependencies in our Rust file.
Expand Down