blob: ab776580e72d985f51a84396b689f273a8d672ee [file] [log] [blame]
# Copyright 2018 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("fidl_fuchsia_net_ext") {
with_unit_tests = true
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.net:fuchsia.net_rust",
"//src/connectivity/lib/net-types",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:paste",
"//third_party/rust_crates:serde",
]
test_deps = [
"//src/connectivity/lib/net-declare",
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:paste",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:test-case",
]
sources = [ "src/lib.rs" ]
configs -= [ "//build/config/rust/lints:allow_unused_results" ]
}
fuchsia_unittest_package("fidl-fuchsia-net-ext-tests") {
deps = [ ":fidl_fuchsia_net_ext_test" ]
}