0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

Move deno_core_http_bench into examples dir (#2127)

This commit is contained in:
Ryan Dahl 2019-04-16 17:53:43 -04:00 committed by GitHub
parent 7807afa972
commit 79a974229a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 2 deletions

1
Cargo.lock generated
View file

@ -202,6 +202,7 @@ dependencies = [
"libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]

View file

@ -54,7 +54,7 @@ if (is_win) {
}
rust_executable("deno_core_http_bench") {
source_root = "http_bench.rs"
source_root = "examples/http_bench.rs"
deps = [
":deno_core_deps",
]
@ -62,7 +62,7 @@ rust_executable("deno_core_http_bench") {
}
rust_test("deno_core_http_bench_test") {
source_root = "http_bench.rs"
source_root = "examples/http_bench.rs"
deps = [
":deno_core_deps",
]

View file

@ -19,3 +19,11 @@ lazy_static = "1.3.0"
libc = "0.2.51"
log = "0.4.6"
serde_json = "1.0.39"
[[example]]
name = "deno_core_http_bench"
path = "examples/http_bench.rs"
# tokio is only used for deno_core_http_bench
[dev_dependencies]
tokio = "0.1.18"