blob: a5beffda566b61f7757d5a42cad28ded2736f8c8 [file]
# Copyright 2026 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.
load("@platforms//host:constraints.bzl", "HOST_CONSTRAINTS")
load("//build/bazel/rules/rust:defs.bzl", "rustc_library")
package(default_applicable_licenses = ["//:license"])
rustc_library(
name = "lib",
srcs = [
"src/check.rs",
"src/check_ext.rs",
"src/lib.rs",
],
crate_name = "ffx_diagnostics",
edition = "2024",
target_compatible_with = HOST_CONSTRAINTS,
test_deps = ["//src/lib/fuchsia"],
visibility = ["//src/developer/ffx:__subpackages__"],
with_host_unit_tests = True,
deps = [
"//third_party/rust_crates/vendor:anyhow",
"//third_party/rust_crates/vendor:futures",
"//third_party/rust_crates/vendor:schemars",
"//third_party/rust_crates/vendor:serde",
],
)