blob: c8d80a09ff779894fbe6b05cd82a97f79078e608 [file] [log] [blame]
# Copyright 2018 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")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("fuchsia-merkle") {
name = "fuchsia_merkle"
edition = "2018"
with_unit_tests = true
deps = [
"//src/lib/mundane",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:proptest",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:thiserror",
]
}
unittest_package("fuchsia-merkle-tests") {
deps = [ ":fuchsia-merkle_test" ]
tests = [
{
name = "fuchsia_merkle_lib_test"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
public_deps = [ ":fuchsia-merkle-tests" ]
}