| # Licensed under the Apache-2.0 license | |
| # SPDX-License-Identifier: Apache-2.0 | |
| load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test") | |
| package(default_visibility = ["//visibility:public"]) | |
| rust_library( | |
| name = "i3c_api", | |
| srcs = glob(["src/**/*.rs"]), | |
| edition = "2024", | |
| deps = ["//util/transport"], | |
| ) | |
| # Host wire-codec tests: builds on the host platform, no kernel/QEMU. | |
| rust_test( | |
| name = "i3c_api_test", | |
| crate = ":i3c_api", | |
| ) |