blob: a68d98cfb5304ae19c0a31f42b2e6c38d7062f0e [file] [log] [blame]
# Copyright 2017 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_binary.gni")
import("//src/sys/build/components.gni")
rustc_binary("bin") {
name = "eth_rs"
edition = "2018"
deps = [
"//src/lib/fuchsia-async",
"//src/lib/network/ethernet",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}
fuchsia_package_with_single_component("eth-rs") {
manifest = "meta/eth-rs.cmx"
deps = [ ":bin" ]
}