| # 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 = [ | |
| "//services/crypto/client:crypto_client", | |
| "@oot_crates_no_std//:spdm-lib", | |
| ], | |
| ) | |
| rust_test( | |
| name = "spdm_hash_test", | |
| crate = ":spdm_hash_lib", | |
| ) |