blob: 66b6e115339798fa31092ddd0876a7b73c835fda [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",
"//third_party/rust_crates:serde_json",
]
test_deps = [
"//third_party/rust_crates:proptest",
"//third_party/rust_crates:proptest-derive",
]
sources = [
"src/epoch.rs",
"src/lib.rs",
]
}
fuchsia_unittest_package("epoch-tests") {
deps = [ ":epoch_test" ]
}
group("tests") {
testonly = true
public_deps = [ ":epoch-tests" ]
}