blob: 9f0eb53294339706d37a180c49b2fd209f858957 [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-async") {
name = "fuchsia_async"
edition = "2018"
version = "0.1.0"
with_unit_tests = true
deps = [
"//garnet/public/rust/fuchsia-async-macro",
"//garnet/public/rust/fuchsia-system-alloc",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust_crates:bytes",
"//third_party/rust_crates:crossbeam",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:libc",
"//third_party/rust_crates:net2",
"//third_party/rust_crates:parking_lot",
"//third_party/rust_crates:pin-utils",
"//third_party/rust_crates:slab",
]
}
test_package("fuchsia-async-tests") {
deps = [
":fuchsia-async",
]
tests = [
{
name = "fuchsia_async_lib_test"
environments = basic_envs
},
]
}