forked from libra-tools/git-internal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUCK
More file actions
186 lines (180 loc) · 8.66 KB
/
Copy pathBUCK
File metadata and controls
186 lines (180 loc) · 8.66 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# @generated by `cargo buckal`
load("@buckal//:cargo_manifest.bzl", "cargo_manifest")
load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library")
filegroup(
name = "git-internal-vendor",
srcs = glob(["**/**"]),
out = "vendor",
)
cargo_manifest(
name = "git-internal-manifest",
vendor = ":git-internal-vendor",
)
rust_library(
name = "git_internal",
srcs = [":git-internal-vendor"],
crate = "git_internal",
crate_root = "vendor/src/lib.rs",
edition = "2024",
features = [
"default",
"diff_mydrs",
],
rustc_flags = ["@$(location :git-internal-manifest[env_flags])"],
visibility = ["PUBLIC"],
deps = [
"//third-party/rust/crates/ahash/0.8.12:ahash",
"//third-party/rust/crates/async-trait/0.1.89:async-trait",
"//third-party/rust/crates/axum/0.8.8:axum",
"//third-party/rust/crates/bincode/2.0.1:bincode",
"//third-party/rust/crates/bstr/1.12.1:bstr",
"//third-party/rust/crates/byteorder/1.5.0:byteorder",
"//third-party/rust/crates/bytes/1.11.0:bytes",
"//third-party/rust/crates/chrono/0.4.42:chrono",
"//third-party/rust/crates/colored/3.0.0:colored",
"//third-party/rust/crates/crc32fast/1.5.0:crc32fast",
"//third-party/rust/crates/dashmap/6.1.0:dashmap",
"//third-party/rust/crates/diffs/0.5.1:diffs",
"//third-party/rust/crates/encoding_rs/0.8.35:encoding_rs",
"//third-party/rust/crates/flate2/1.1.5:flate2",
"//third-party/rust/crates/futures-util/0.3.31:futures-util",
"//third-party/rust/crates/futures/0.3.31:futures",
"//third-party/rust/crates/hex/0.4.3:hex",
"//third-party/rust/crates/libc/0.2.178:libc",
"//third-party/rust/crates/lru-mem/0.3.0:lru-mem",
"//third-party/rust/crates/memchr/2.7.6:memchr",
"//third-party/rust/crates/natord/1.0.9:natord",
"//third-party/rust/crates/num_cpus/1.17.0:num_cpus",
"//third-party/rust/crates/path-absolutize/3.1.1:path-absolutize",
"//third-party/rust/crates/rayon/1.11.0:rayon",
"//third-party/rust/crates/sea-orm/1.1.19:sea-orm",
"//third-party/rust/crates/serde/1.0.228:serde",
"//third-party/rust/crates/sha1/0.10.6:sha1",
"//third-party/rust/crates/sha2/0.10.9:sha2",
"//third-party/rust/crates/similar/2.7.0:similar",
"//third-party/rust/crates/tempfile/3.24.0:tempfile",
"//third-party/rust/crates/thiserror/2.0.17:thiserror",
"//third-party/rust/crates/threadpool/1.8.1:threadpool",
"//third-party/rust/crates/tokio-stream/0.1.17:tokio-stream",
"//third-party/rust/crates/tokio/1.48.0:tokio",
"//third-party/rust/crates/tracing-subscriber/0.3.22:tracing-subscriber",
"//third-party/rust/crates/tracing/0.1.44:tracing",
"//third-party/rust/crates/uuid/1.19.0:uuid",
"//third-party/rust/crates/zstd-sys/2.0.16+zstd.1.5.7:zstd-sys",
],
)
rust_test(
name = "git_internal-unittest",
srcs = [":git-internal-vendor"],
crate = "git_internal",
crate_root = "vendor/src/lib.rs",
edition = "2024",
features = [
"default",
"diff_mydrs",
],
rustc_flags = ["@$(location :git-internal-manifest[env_flags])"],
visibility = ["PUBLIC"],
deps = [
"//third-party/rust/crates/ahash/0.8.12:ahash",
"//third-party/rust/crates/async-trait/0.1.89:async-trait",
"//third-party/rust/crates/axum/0.8.8:axum",
"//third-party/rust/crates/bincode/2.0.1:bincode",
"//third-party/rust/crates/bstr/1.12.1:bstr",
"//third-party/rust/crates/byteorder/1.5.0:byteorder",
"//third-party/rust/crates/bytes/1.11.0:bytes",
"//third-party/rust/crates/chrono/0.4.42:chrono",
"//third-party/rust/crates/colored/3.0.0:colored",
"//third-party/rust/crates/crc32fast/1.5.0:crc32fast",
"//third-party/rust/crates/dashmap/6.1.0:dashmap",
"//third-party/rust/crates/diffs/0.5.1:diffs",
"//third-party/rust/crates/encoding_rs/0.8.35:encoding_rs",
"//third-party/rust/crates/flate2/1.1.5:flate2",
"//third-party/rust/crates/futures-util/0.3.31:futures-util",
"//third-party/rust/crates/futures/0.3.31:futures",
"//third-party/rust/crates/hex/0.4.3:hex",
"//third-party/rust/crates/libc/0.2.178:libc",
"//third-party/rust/crates/lru-mem/0.3.0:lru-mem",
"//third-party/rust/crates/memchr/2.7.6:memchr",
"//third-party/rust/crates/natord/1.0.9:natord",
"//third-party/rust/crates/num_cpus/1.17.0:num_cpus",
"//third-party/rust/crates/path-absolutize/3.1.1:path-absolutize",
"//third-party/rust/crates/quickcheck/1.0.3:quickcheck",
"//third-party/rust/crates/rand/0.9.2:rand",
"//third-party/rust/crates/rand_chacha/0.9.0:rand_chacha",
"//third-party/rust/crates/rayon/1.11.0:rayon",
"//third-party/rust/crates/sea-orm/1.1.19:sea-orm",
"//third-party/rust/crates/serde/1.0.228:serde",
"//third-party/rust/crates/sha1/0.10.6:sha1",
"//third-party/rust/crates/sha2/0.10.9:sha2",
"//third-party/rust/crates/similar/2.7.0:similar",
"//third-party/rust/crates/tempfile/3.24.0:tempfile",
"//third-party/rust/crates/thiserror/2.0.17:thiserror",
"//third-party/rust/crates/threadpool/1.8.1:threadpool",
"//third-party/rust/crates/tokio-stream/0.1.17:tokio-stream",
"//third-party/rust/crates/tokio-util/0.7.17:tokio-util",
"//third-party/rust/crates/tokio/1.48.0:tokio",
"//third-party/rust/crates/tracing-subscriber/0.3.22:tracing-subscriber",
"//third-party/rust/crates/tracing/0.1.44:tracing",
"//third-party/rust/crates/uuid/1.19.0:uuid",
"//third-party/rust/crates/zstd-sys/2.0.16+zstd.1.5.7:zstd-sys",
],
)
rust_test(
name = "decode-index-pack",
srcs = [":git-internal-vendor"],
crate = "decode_index_pack",
crate_root = "vendor/tests/decode-index-pack.rs",
edition = "2024",
features = [
"default",
"diff_mydrs",
],
rustc_flags = ["@$(location :git-internal-manifest[env_flags])"],
visibility = ["PUBLIC"],
deps = [
"//third-party/rust/crates/ahash/0.8.12:ahash",
"//third-party/rust/crates/async-trait/0.1.89:async-trait",
"//third-party/rust/crates/axum/0.8.8:axum",
"//third-party/rust/crates/bincode/2.0.1:bincode",
"//third-party/rust/crates/bstr/1.12.1:bstr",
"//third-party/rust/crates/byteorder/1.5.0:byteorder",
"//third-party/rust/crates/bytes/1.11.0:bytes",
"//third-party/rust/crates/chrono/0.4.42:chrono",
"//third-party/rust/crates/colored/3.0.0:colored",
"//third-party/rust/crates/crc32fast/1.5.0:crc32fast",
"//third-party/rust/crates/dashmap/6.1.0:dashmap",
"//third-party/rust/crates/diffs/0.5.1:diffs",
"//third-party/rust/crates/encoding_rs/0.8.35:encoding_rs",
"//third-party/rust/crates/flate2/1.1.5:flate2",
"//third-party/rust/crates/futures-util/0.3.31:futures-util",
"//third-party/rust/crates/futures/0.3.31:futures",
"//third-party/rust/crates/hex/0.4.3:hex",
"//third-party/rust/crates/libc/0.2.178:libc",
"//third-party/rust/crates/lru-mem/0.3.0:lru-mem",
"//third-party/rust/crates/memchr/2.7.6:memchr",
"//third-party/rust/crates/natord/1.0.9:natord",
"//third-party/rust/crates/num_cpus/1.17.0:num_cpus",
"//third-party/rust/crates/path-absolutize/3.1.1:path-absolutize",
"//third-party/rust/crates/quickcheck/1.0.3:quickcheck",
"//third-party/rust/crates/rand/0.9.2:rand",
"//third-party/rust/crates/rand_chacha/0.9.0:rand_chacha",
"//third-party/rust/crates/rayon/1.11.0:rayon",
"//third-party/rust/crates/sea-orm/1.1.19:sea-orm",
"//third-party/rust/crates/serde/1.0.228:serde",
"//third-party/rust/crates/sha1/0.10.6:sha1",
"//third-party/rust/crates/sha2/0.10.9:sha2",
"//third-party/rust/crates/similar/2.7.0:similar",
"//third-party/rust/crates/tempfile/3.24.0:tempfile",
"//third-party/rust/crates/thiserror/2.0.17:thiserror",
"//third-party/rust/crates/threadpool/1.8.1:threadpool",
"//third-party/rust/crates/tokio-stream/0.1.17:tokio-stream",
"//third-party/rust/crates/tokio-util/0.7.17:tokio-util",
"//third-party/rust/crates/tokio/1.48.0:tokio",
"//third-party/rust/crates/tracing-subscriber/0.3.22:tracing-subscriber",
"//third-party/rust/crates/tracing/0.1.44:tracing",
"//third-party/rust/crates/uuid/1.19.0:uuid",
"//third-party/rust/crates/zstd-sys/2.0.16+zstd.1.5.7:zstd-sys",
":git_internal",
],
)