blob: 50725f11419dd59d8e5973a97ac1bc86cbae26db [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/package.gni")
import("//build/rust/rustc_binary.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" ]
}
package("eth-rs") {
deps = [ ":bin" ]
binaries = [
{
name = "eth_rs"
},
]
meta = [
{
path = rebase_path("meta/eth-rs.cmx")
dest = "eth-rs.cmx"
},
]
}