blob: 744c074fad1c25512505a673682a170dba7ad256 [file]
# Licensed under the Apache-2.0 license
load("@rules_rust//rust:defs.bzl", "rust_library")
load("//target/ast10x0:defs.bzl", "TARGET_COMPATIBLE_WITH")
rust_library(
name = "usart_client",
srcs = ["src/lib.rs"],
edition = "2024",
tags = ["kernel"],
target_compatible_with = TARGET_COMPATIBLE_WITH,
visibility = ["//visibility:public"],
deps = [
"//drivers/usart/api:usart_api",
"@pigweed//pw_kernel/userspace",
"@pigweed//pw_status/rust:pw_status",
"@rust_crates//:zerocopy",
],
)