blob: c84e484f737a2922c11e84272109bc9b981066f1 [file] [log] [blame]
# Copyright 2025 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")
rustc_library("lib") {
name = "ffx_diagnostics"
edition = "2021"
with_unit_tests = true
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
]
test_deps = [ "//src/lib/fuchsia" ]
sources = [
"src/check.rs",
"src/check_ext.rs",
"src/lib.rs",
]
}
group("diagnostics") {
public_deps = [ ":lib" ]
}
group("tests") {
testonly = true
deps = [
":lib_test",
"checks:lib_test",
]
}