Created
November 3, 2019 03:56
-
-
Save Karl-Han/4dceeed871686925d5f9455662231bb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "async-await-echo" | |
version = "0.1.0" | |
authors = ["Karl Han <[email protected]>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
# The latest version of the "futures" library, which has lots of utilities | |
# for writing async code. Enable the "compat" feature to include the | |
# functions for using futures 0.3 and async/await with the Hyper library, | |
# which use futures 0.1. | |
futures-preview = { version = "=0.3.0-alpha.17", features = ["compat"] } | |
# Hyper is an asynchronous HTTP library. We'll use it to power our HTTP | |
# server and to make HTTP requests. | |
hyper = "0.12.9" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment