blob: 7970a77b8fa5dc50d8574773daaea428096b7264 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/rust/rustc_library.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("fuchsia-hyper") {
name = "fuchsia_hyper"
edition = "2018"
version = "0.1.0"
with_unit_tests = true
deps = [
"//garnet/lib/rust/webpki-roots-fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/tcp-stream-ext",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:hyper",
"//third_party/rust_crates:hyper-rustls",
"//third_party/rust_crates:libc",
"//third_party/rust_crates:net2",
"//third_party/rust_crates:rustls",
"//zircon/system/fidl/fuchsia-posix-socket:fuchsia-posix-socket-rustc",
]
}
test_package("fuchsia-hyper-tests") {
deps = [ ":fuchsia-hyper_test" ]
tests = [
{
name = "fuchsia_hyper_lib_test"
environments = basic_envs
},
]
}