Skip to content

Commit

Permalink
hyper_hello should be in its own crate (denoland#2641)
Browse files Browse the repository at this point in the history
So that "cargo build" will build it when the gn frontend is eventually
removed.
  • Loading branch information
ry committed Jul 15, 2019
1 parent 1fde15c commit bd6ebb3
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
members = [
"cli",
"core",
"tools/hyper_hello",
]
11 changes: 11 additions & 0 deletions tools/hyper_hello/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
File renamed without changes.

0 comments on commit bd6ebb3

Please sign in to comment.