blob: ff52c8ce74aebadeea1f2139ae94d22d8e806db7 [file] [log] [blame]
# Copyright 2021 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("epoch") {
version = "0.1.0"
edition = "2021"
with_unit_tests = true
deps = [ "//third_party/rust_crates:serde" ]
test_deps = [
"//third_party/rust_crates:proptest",
"//third_party/rust_crates:serde_json",
]
sources = [
"src/epoch.rs",
"src/lib.rs",
]
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
}
fuchsia_unittest_package("epoch-tests") {
deps = [ ":epoch_test" ]
}
group("tests") {
testonly = true
public_deps = [ ":epoch-tests" ]
}