blob: 63748247d3a69106a9c1cbad3c4071de97131384 [file] [log] [blame] [edit]
# Copyright 2025 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.
load("@platforms//host:constraints.bzl", "HOST_CONSTRAINTS")
load("//build/tools/bazel2gn/bazel_rules:defs.bzl", "rustc_library")
package(default_visibility = ["//visibility:public"])
rustc_library(
name = "lib",
srcs = ["src/lib.rs"],
crate_name = "netext",
edition = "2021",
target_compatible_with = HOST_CONSTRAINTS,
version = "0.1.0",
with_unit_tests = True,
deps = [
"//third_party/rust_crates/forks/nix-0.29.0:nix",
"//third_party/rust_crates/vendor:anyhow",
"//third_party/rust_crates/vendor:futures",
"//third_party/rust_crates/vendor:itertools",
"//third_party/rust_crates/vendor:libc",
"//third_party/rust_crates/vendor:regex",
"//third_party/rust_crates/vendor:tokio",
],
)