blob: f22dd905d03d30d9530e616ae7a78590b333fbdc [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/rust/rustc_library.gni")
import("//build/testing/environments.gni")
group("rust") {
public_deps = [ ":mdns" ]
}
rustc_library("mdns") {
name = "mdns"
edition = "2021"
with_unit_tests = true
deps = [
"//src/lib/network/packet",
"//third_party/rust_crates:zerocopy",
]
sources = [
"src/lib.rs",
"src/protocol.rs",
]
}
group("tests") {
testonly = true
deps = [ ":mdns_test" ]
}