-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh for hyper benchmark based on tokio-proto and tokio-service. serde-derive is used for json serialization as that's what people will do in real app.
- Loading branch information
Showing
4 changed files
with
49 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
[package] | ||
name = "hello" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["Steve Klabnik <steve@steveklabnik.com>", "Alexander Polyakov <plhk@sdf.org>"] | ||
|
||
[dependencies] | ||
net2 = "0.2" | ||
futures = "0.1" | ||
pretty_env_logger = "0.1" | ||
log = "0.3.6" | ||
tokio-core = "0.1" | ||
tokio-proto = "0.1" | ||
tokio-service = "0.1" | ||
num_cpus = "1.2" | ||
serde = "*" | ||
serde_json = "*" | ||
serde_derive = "*" | ||
mime = "*" | ||
|
||
[dependencies.hyper] | ||
git = "https://github.com/hyperium/hyper/" | ||
rev = "39a53fcd3364634125dafcf4d7a1d191241a7ff0" | ||
rev = "43cf9aefe8f9147a0f08aa0f9d609d275549fd7c" |
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 | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ fw_depends postgresql rust | |
|
||
cargo clean | ||
cargo build --release | ||
cargo run --release & | ||
./target/release/hello & |
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