blob: 9ef37ddbe3ca63b613fb34d504691f849ba8e202 [file] [log] [blame]
# Copyright 2022 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")
if (is_host) {
rustc_library("lib") {
name = "credentials"
edition = "2021"
with_unit_tests = true
deps = [
"//src/lib/gcs",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:home",
"//third_party/rust_crates:log",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
test_deps = [
"//src/lib/fuchsia-async",
"//src/lib/testing/temp_test_env",
"//third_party/rust_crates:serial_test",
]
sources = [ "src/lib.rs" ]
}
}
group("credentials") {
public_deps = [ ":lib($host_toolchain)" ]
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}