mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
hyper_hello should be in its own crate (#2641)
So that "cargo build" will build it when the gn frontend is eventually removed.
This commit is contained in:
parent
1fde15c0bc
commit
bd6ebb32df
5 changed files with 21 additions and 1 deletions
2
BUILD.gn
2
BUILD.gn
|
@ -12,7 +12,7 @@ group("default") {
|
|||
}
|
||||
|
||||
rust_executable("hyper_hello") {
|
||||
source_root = "tools/hyper_hello.rs"
|
||||
source_root = "tools/hyper_hello/hyper_hello.rs"
|
||||
extern_rlib = [
|
||||
"hyper",
|
||||
"ring",
|
||||
|
|
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -450,6 +450,14 @@ dependencies = [
|
|||
"webpki-roots 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyper_hello"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"hyper 0.12.30 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "idna"
|
||||
version = "0.1.5"
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
members = [
|
||||
"cli",
|
||||
"core",
|
||||
"tools/hyper_hello",
|
||||
]
|
||||
|
|
11
tools/hyper_hello/Cargo.toml
Normal file
11
tools/hyper_hello/Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "hyper_hello"
|
||||
version = "0.0.1"
|
||||
|
||||
[dependencies]
|
||||
hyper = "0.12.30"
|
||||
ring = "0.14.6"
|
||||
|
||||
[[bin]]
|
||||
name = "hyper_hello"
|
||||
path = "hyper_hello.rs"
|
Loading…
Reference in a new issue