forked from gotham-rs/gotham
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
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
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,14 +1,20 @@ | |||
[package] | [package] | ||
name = "gotham_examples_handlers_form_urlencoded" | name = "gotham_examples_handlers_form_urlencoded_await" | ||
description = "An example of decoding requests from an HTML form element" | description = "An example of decoding requests from an HTML form element" | ||
version = "0.0.0" | version = "0.0.0" | ||
authors = ["Jacob Budin <self@jacobbudin.com>"] | authors = ["Jacob Budin <self@jacobbudin.com>"] | ||
publish = false | publish = false | ||
edition = "2018" | |||
|
|
||
[dependencies] | [dependencies] | ||
gotham = { path = "../../../gotham" } | gotham = { path = "../../../gotham" } | ||
|
|
||
hyper = "0.12" | hyper = "0.12" | ||
mime = "0.3" | mime = "0.3" | ||
futures = "0.1" | # We need two versions of the futures library. One that matches what Gotham | ||
# understands, and one that matches what .await understands. Stolen from: | |||
# https://rust-lang-nursery.github.io/futures-rs/blog/2019/04/18/compatibility-layer.html | |||
# (although they call the old version futures01 and we call it legacy_futures) | |||
legacy_futures = {package = "futures", version = "0.1"} | |||
futures = {package = "futures", version = "0.3.1", features = ["compat"]} | |||
url = "2.1" | url = "2.1" |
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