blob: 31305cf99f7e9e91602fd37a5f4bdf98368a3313 [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/rust/rustc_library.gni")
rustc_library("testing") {
name = "socket_proxy_testing"
testonly = true
edition = "2021"
configs -= [ "//build/config/rust/lints:allow_unused_results" ]
sources = [ "src/lib.rs" ]
deps = [
"//sdk/fidl/fuchsia.net:fuchsia.net_rust",
"//sdk/fidl/fuchsia.net.policy.socketproxy:fuchsia.net.policy.socketproxy_rust",
"//sdk/fidl/fuchsia.posix.socket:fuchsia.posix.socket_rust",
"//src/connectivity/policy/socket-proxy:lib",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:futures",
]
}