blob: 45e27867a9de7f083b026d0ce08d7b67a8f9f51b [file] [log] [blame]
# Copyright 2020 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("packet-encoding") {
edition = "2021"
with_unit_tests = true
test_deps = [ "//third_party/rust_crates:assert_matches" ]
sources = [ "src/lib.rs" ]
configs -= [ "//build/config/rust/lints:allow_unused_results" ]
}
fuchsia_unittest_package("packet-encoding-tests") {
deps = [ ":packet-encoding_test" ]
}
group("tests") {
testonly = true
deps = [ ":packet-encoding-tests" ]
}