| # 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") |
| |
| rustc_library("unittest_util") { |
| edition = "2021" |
| with_unit_tests = true |
| testonly = true |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.identity.account:fuchsia.identity.account_rust", |
| "//sdk/fidl/fuchsia.io:fuchsia.io_rust", |
| "//src/identity/lib/account_common", |
| "//src/identity/lib/storage_manager", |
| "//src/lib/fuchsia-fs", |
| "//src/lib/storage/vfs/rust:vfs", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:async-trait", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:lazy_static", |
| "//third_party/rust_crates:serde_json", |
| "//third_party/rust_crates:tempfile", |
| "//third_party/rust_crates:typed-builder", |
| ] |
| |
| sources = [ |
| "src/insecure_storage_manager.rs", |
| "src/lib.rs", |
| ] |
| configs += [ "//build/config/rust/lints:clippy_warn_all" ] |
| } |