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:
parent
7807afa972
commit
79a974229a
5 changed files with 11 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -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]]
|
||||
|
|
|
@ -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",
|
||||
]
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue