blob: 2c32a6529aec0ca81dd8f060e38d25c6140bafe0 [file] [log] [blame]
# Copyright 2023 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("socket-to-stdio") {
version = "0.1.0"
edition = "2021"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:termion",
]
test_deps = [ "//src/lib/fuchsia" ]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("socket-to-stdio-tests") {
deps = [ ":socket-to-stdio_test" ]
}
group("tests") {
testonly = true
public_deps = [ ":socket-to-stdio-tests" ]
}