fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreReplaced `crates_universe` rule with `crates_repository` (#1158)59fab4e7

0.6.0
593 B25 linesraw
1load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_test")
2
3rust_binary(
4    name = "no_cargo_manifests",
5    srcs = glob(["**/*.rs"]),
6    edition = "2018",
7    deps = [
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(
21    name = "unit_test",
22    srcs = glob(["**/*.rs"]),
23    crate = ":no_cargo_manifests",
24    edition = "2018",
25)