load("@crate_index//:defs.bzl", "aliases", "all_crate_deps") load("@rules_rust//rust:defs.bzl", "rust_binary") rust_binary( name = "rust-bazel", srcs = glob([ "src/**/*.rs", ]), aliases = aliases(), deps = all_crate_deps() + [ "//crates/mycalculator", # ":build", ], proc_macro_deps = all_crate_deps( proc_macro = True, ), visibility = ["//visibility:public"], )