blob: 2326de7afbd81adc69c6d6b0808bac94657d4d4c [file]
# Licensed under the Apache-2.0 license
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/crypto/client-stub:crypto_client",
"@rust_crates//:spdm-lib",
],
)
rust_test(
name = "spdm_hash_test",
crate = ":spdm_hash_lib",
)