blob: b8396dd79b673ce902daae8148ac85a8d4edf324 [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")
rustc_library("mundane") {
name = "mundane"
version = "0.3.0"
with_unit_tests = true
edition = "2015"
deps = [
"//third_party/boringssl/rust/boringssl-sys",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
features = [
"bytes",
"insecure",
"rsa-pkcs1v15",
"experimental-sha512-ec",
"kdf",
]
# TODO(46762): Fix the leaks and remove this.
non_rust_deps = [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
}
unittest_package("mundane-tests") {
deps = [ ":mundane_test" ]
tests = [
{
name = "mundane_lib_test"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
deps = [ ":mundane-tests" ]
}