blob: 914d85b464c52caa40d8a3cf387daca8ba8110dc [file]
# 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 = "2024"
configs += [ "//build/config/rust/lints:deny_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",
]
}