blob: edec42ceaf6184e5935968671f221f6b3d74889d [file]
# Licensed under the Apache-2.0 license
# SPDX-License-Identifier: Apache-2.0
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
rust_library(
name = "spdm_hash_lib",
srcs = glob(["src/**/*.rs"]),
crate_name = "openprot_spdm_hash",
edition = "2024",
visibility = ["//visibility:public"],
deps = [
# TODO: Replace stub with real //services/crypto/client when imported
"//services/spdm/requester/tests/crypto-client-stub:crypto_client",
"@rust_crates//:spdm-lib",
],
)
rust_test(
name = "spdm_hash_test",
crate = ":spdm_hash_lib",
)