fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
59fab4e7
0.5.0
1load ( "@rules_rust//rust:defs.bzl" , "rust_binary" , "rust_test" ) 2 3rust_binary ( 4name = "no_cargo_manifests" , 5srcs = glob ([ "**/*.rs" ]), 6edition = "2018" , 7deps = [ 8"@no_cargo//:axum" , 9"@no_cargo//:hyper" , 10"@no_cargo//:mime" , 11"@no_cargo//:serde_json" , 12"@no_cargo//:tokio" , 13"@no_cargo//:tower" , 14"@no_cargo//:tower-http" , 15"@no_cargo//:tracing" , 16"@no_cargo//:tracing-subscriber" , 17], 18) 19 20rust_test ( 21name = "unit_test" , 22srcs = glob ([ "**/*.rs" ]), 23crate = ":no_cargo_manifests" , 24edition = "2018" , 25)