blob: d610e23921c38e132c13d0f9eb9e387d3779f470 [file]
# Copyright 2022 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 = "selector-maps"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
sources = [ "src/lib.rs" ]
deps = [
"//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics_rust",
"//src/lib/diagnostics/selectors",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:thiserror",
]
test_deps = [ "//third_party/rust_crates:assert_matches" ]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
group("selector-maps") {
public_deps = [ ":lib" ]
}