BUCKannotatedBUCKsource29 lines · 817 B · raw
1# Every kind of question this project puts to Jev, tied together by the
2# `Decision` trait and one shared engine (`src/lib.rs`). Native only: it
3# links the bot (C, through `zbanks`) and `jev-http` (a socket), so, like
4# `../zbanks` and `jev-http`, it is never part of the wasm build.
5_DEPS = [
6    "//third-party/rust:jev-protocol",
7    "//third-party/rust:jev-http",
8    "//packages/zbanks:zbanks",
9    "//third-party/rust:serde",
10    "//third-party/rust:serde_json",
11    "//third-party/rust:tokio",
12]
13
14rust_library(
15    name = "decisions",
16    srcs = glob(["src/**/*.rs"]),
17    crate_root = "src/lib.rs",
18    edition = "2024",
19    deps = _DEPS,
20    visibility = ["PUBLIC"],
21)
22
23rust_test(
24    name = "test",
25    srcs = glob(["src/**/*.rs"]),
26    crate_root = "src/lib.rs",
27    edition = "2024",
28    deps = _DEPS,
29)