blob: d46961e479e6a492dcdeadeac401af1ec1c2dfb9 [file] [log] [blame]
# Copyright 2019 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")
if (is_host) {
rustc_library("lib") {
name = "ffx_daemon_core"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-std",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:itertools",
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:log",
"//third_party/rust_crates:nix",
"//third_party/rust_crates:pin-project",
"//third_party/rust_crates:simplelog",
]
sources = [
"src/events.rs",
"src/lib.rs",
"src/net.rs",
"src/task.rs",
]
}
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}