blob: d5a8cc861e4ad371a2dd3c08302a02b46b93a36b [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 = "2018"
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" ]
}