blob: 0dd80b54440f366361972c3c4df1fae681058037 [file]
# Copyright 2021 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("lib") {
name = "addr"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
sources = [
"src/lib.rs",
"src/target_addr.rs",
]
deps = [
"../netext:lib",
"//sdk/fidl/fuchsia.developer.ffx:fuchsia.developer.ffx_rust",
"//sdk/fidl/fuchsia.net:fuchsia.net_rust",
"//third_party/rust_crates:anyhow",
]
test_deps = []
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
group("addr") {
testonly = true
deps = [
":lib",
":tests",
]
}