summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn2
-rw-r--r--Cargo.lock8
-rw-r--r--Cargo.toml1
-rw-r--r--tools/hyper_hello/Cargo.toml11
-rw-r--r--tools/hyper_hello/hyper_hello.rs (renamed from tools/hyper_hello.rs)0
5 files changed, 21 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 909d04ce5..32ec77649 100644
--- a/BUILD.gn
+++ b/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",
diff --git a/Cargo.lock b/Cargo.lock
index 22a61aee4..6a6c57939 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -451,6 +451,14 @@ dependencies = [
]
[[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"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index cbd245a50..1aa173285 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,4 +2,5 @@
members = [
"cli",
"core",
+ "tools/hyper_hello",
]
diff --git a/tools/hyper_hello/Cargo.toml b/tools/hyper_hello/Cargo.toml
new file mode 100644
index 000000000..44226a143
--- /dev/null
+++ b/tools/hyper_hello/Cargo.toml
@@ -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"
diff --git a/tools/hyper_hello.rs b/tools/hyper_hello/hyper_hello.rs
index dc4dceb06..dc4dceb06 100644
--- a/tools/hyper_hello.rs
+++ b/tools/hyper_hello/hyper_hello.rs