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:
Ryan Dahl 2019-07-15 14:00:27 -04:00 committed by GitHub
parent 1fde15c0bc
commit bd6ebb32df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 1 deletions

View File

@ -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
View File

@ -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"

View File

@ -2,4 +2,5 @@
members = [
"cli",
"core",
"tools/hyper_hello",
]

View 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"