blob: d76c9e54d6e582d51a774c42a89c8c534dd20827 [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("//build/package.gni")
rustc_binary("bin") {
name = "eth_rs"
edition = "2018"
deps = [
"//garnet/lib/rust/crates/ethernet",
"//garnet/public/rust/crates/fuchsia-async",
"//garnet/public/rust/crates/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
]
}
package("eth-rs") {
deps = [
":bin",
]
binary = "eth_rs"
meta = [
{
path = rebase_path("meta/eth-rs.cmx")
dest = "eth-rs.cmx"
},
]
}