blob: a279f678c09708b307083038ba501adfcb5a9ca6 [file] [log] [blame] [edit]
# Copyright 2024 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("rust") {
name = "fdf"
version = "0.1.0"
edition = "2024"
with_unit_tests = true
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
deps = [
"channel",
"core",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("fdf_rust_tests") {
deps = [ ":rust_test" ]
}
group("tests") {
testonly = true
deps = [
":fdf_rust_tests",
"channel:tests",
"core:tests",
"env:tests",
"fdf_sys:tests",
"fidl:tests",
]
}