-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathBUILD.bazel
122 lines (118 loc) · 3.36 KB
/
BUILD.bazel
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
load(
"@rules_rust//rust:defs.bzl",
"rust_doc",
"rust_doc_test",
"rust_library",
"rust_test_suite",
)
rust_library(
name = "native-link-store",
srcs = [
"src/ac_utils.rs",
"src/compression_store.rs",
"src/dedup_store.rs",
"src/default_store_factory.rs",
"src/existence_store.rs",
"src/completeness_checking_store.rs",
"src/fast_slow_store.rs",
"src/filesystem_store.rs",
"src/grpc_store.rs",
"src/lib.rs",
"src/memory_store.rs",
"src/noop_store.rs",
"src/ref_store.rs",
"src/s3_store.rs",
"src/shard_store.rs",
"src/size_partitioning_store.rs",
"src/store_manager.rs",
"src/verify_store.rs",
],
proc_macro_deps = [
"@crate_index//:async-trait",
],
visibility = ["//visibility:public"],
deps = [
"//error",
"//native-link-config",
"//native-link-util",
"//proto",
"@crate_index//:async-lock",
"@crate_index//:aws-config",
"@crate_index//:aws-sdk-s3",
"@crate_index//:aws-smithy-runtime",
"@crate_index//:bincode",
"@crate_index//:blake3",
"@crate_index//:byteorder",
"@crate_index//:bytes",
"@crate_index//:filetime",
"@crate_index//:futures",
"@crate_index//:hashbrown",
"@crate_index//:hex",
"@crate_index//:hyper",
"@crate_index//:hyper-rustls",
"@crate_index//:lz4_flex",
"@crate_index//:parking_lot",
"@crate_index//:prost",
"@crate_index//:rand",
"@crate_index//:serde",
"@crate_index//:sha2",
"@crate_index//:shellexpand",
"@crate_index//:tokio",
"@crate_index//:tokio-stream",
"@crate_index//:tokio-util",
"@crate_index//:tonic",
"@crate_index//:uuid",
],
)
rust_test_suite(
name = "integration",
srcs = [
"tests/ac_utils_test.rs",
"tests/compression_store_test.rs",
"tests/dedup_store_test.rs",
"tests/existence_store_test.rs",
"tests/completeness_checking_store_test.rs",
"tests/fast_slow_store_test.rs",
"tests/filesystem_store_test.rs",
"tests/memory_store_test.rs",
"tests/ref_store_test.rs",
"tests/s3_store_test.rs",
"tests/shard_store_test.rs",
"tests/size_partitioning_store_test.rs",
"tests/verify_store_test.rs",
],
proc_macro_deps = [
"@crate_index//:async-trait",
],
deps = [
":native-link-store",
"//error",
"//native-link-config",
"//native-link-util",
"//proto",
"@crate_index//:async-lock",
"@crate_index//:aws-sdk-s3",
"@crate_index//:aws-smithy-runtime",
"@crate_index//:aws-smithy-types",
"@crate_index//:bincode",
"@crate_index//:bytes",
"@crate_index//:filetime",
"@crate_index//:futures",
"@crate_index//:http",
"@crate_index//:memory-stats",
"@crate_index//:once_cell",
"@crate_index//:pretty_assertions",
"@crate_index//:rand",
"@crate_index//:prost",
"@crate_index//:tokio",
"@crate_index//:tokio-stream",
],
)
rust_doc(
name = "docs",
crate = ":native-link-store",
)
rust_doc_test(
name = "doc_test",
crate = ":native-link-store",
)