blob: 395ea402bc92953a85cc56f756cb8483e63a42c9 [file] [log] [blame]
# Copyright 2021 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")
assert(is_host, "tasks is for use with the host toolchain only")
rustc_library("lib") {
name = "tasks"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
sources = [ "src/lib.rs" ]
deps = [
"//src/lib/fuchsia-async",
"//third_party/rust_crates:futures",
]
test_deps = [
"//src/lib/fuchsia",
"//third_party//rust_crates:async-channel",
]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
group("tasks") {
testonly = true
deps = [
":lib",
":tests",
]
}