blob: 62acefff1c0bea3f8d72a8d0180bc1427460521a [file] [log] [blame]
# 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/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("version") {
edition = "2021"
with_unit_tests = true
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:itertools",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:thiserror",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("version-tests") {
deps = [ ":version_test" ]
}
group("tests") {
testonly = true
deps = [ ":version-tests" ]
}