blob: 98207eacc0827226ad1a677391b2131e44dee909 [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 = [
"//garnet/lib/rust/ethernet",
"//src/lib/fuchsia-async",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
}
package("eth-rs") {
deps = [ ":bin" ]
binary = "eth_rs"
meta = [
{
path = rebase_path("meta/eth-rs.cmx")
dest = "eth-rs.cmx"
},
]
}