-
Notifications
You must be signed in to change notification settings - Fork 404
Expand file tree
/
Copy pathBUILD.bazel
More file actions
72 lines (69 loc) · 2.1 KB
/
Copy pathBUILD.bazel
File metadata and controls
72 lines (69 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
package(default_visibility = [
"//rs/p2p:__subpackages__",
"//rs/pocket_ic_server:__subpackages__",
"//rs/replica:__subpackages__",
])
rust_library(
name = "client",
srcs = glob(["src/**"]),
crate_name = "ic_https_outcalls_adapter_client",
version = "0.1.0",
deps = [
# Keep sorted.
"//packages/ic-error-types",
"//rs/config",
"//rs/http_endpoints/async_utils",
"//rs/https_outcalls/pricing",
"//rs/https_outcalls/service",
"//rs/interfaces",
"//rs/interfaces/adapter_client",
"//rs/monitoring/adapter_metrics/client",
"//rs/monitoring/logger",
"//rs/monitoring/metrics",
"//rs/types/management_canister_types",
"//rs/types/types",
"//rs/utils",
"@crate_index//:candid",
"@crate_index//:futures",
"@crate_index//:hyper-util",
"@crate_index//:prometheus",
"@crate_index//:slog",
"@crate_index//:tokio",
"@crate_index//:tonic",
"@crate_index//:tower",
"@crate_index//:tracing",
],
)
rust_test(
name = "client_test",
crate = ":client",
deps = [
# Keep sorted.
"//packages/ic-error-types",
"//rs/config",
"//rs/http_endpoints/async_utils",
"//rs/https_outcalls/pricing",
"//rs/https_outcalls/service",
"//rs/interfaces",
"//rs/interfaces/adapter_client",
"//rs/monitoring/adapter_metrics/client",
"//rs/monitoring/logger",
"//rs/monitoring/metrics",
"//rs/test_utilities/time",
"//rs/test_utilities/types",
"//rs/types/management_canister_types",
"//rs/types/types",
"//rs/utils",
"@crate_index//:candid",
"@crate_index//:futures",
"@crate_index//:hyper-util",
"@crate_index//:prometheus",
"@crate_index//:slog",
"@crate_index//:tokio",
"@crate_index//:tonic",
"@crate_index//:tower",
"@crate_index//:tower-test",
"@crate_index//:tracing",
],
)