blob: 4600479e79b78a154af894e03cf0300857fa37ff [file]
# Copyright 2020 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_log_data"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"logs_data_v1:lib",
"//src/lib/diagnostics/data/rust",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
sources = [ "src/lib.rs" ]
}
group("data") {
public_deps = [ ":lib" ]
}
group("tests") {
testonly = true
public_deps = [ ":lib_test" ]
}