| # 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("//build/bazel/platforms:constraints.bzl", "HOST_OS_CONSTRAINTS") | |
| load("//build/bazel/rules/rust:rustc_library.bzl", "rustc_library") | |
| package(default_applicable_licenses = ["//:license"]) | |
| rustc_library( | |
| name = "command_output", | |
| srcs = ["src/lib.rs"], | |
| crate_name = "ffx_log_command_output", | |
| edition = "2024", | |
| target_compatible_with = HOST_OS_CONSTRAINTS, | |
| visibility = ["//src/developer/ffx/plugins/log:__pkg__"], | |
| deps = [ | |
| "//src/developer/ffx/lib/fho:lib", | |
| "//src/developer/ffx/lib/writer:lib", | |
| "//src/diagnostics/lib/log-command:log-command_fdomain", | |
| "//src/lib/diagnostics/data/rust:lib", | |
| "//third_party/rust_crates/vendor:schemars", | |
| "//third_party/rust_crates/vendor:serde", | |
| ], | |
| ) |