Skip to content

Commit b00b212

Browse files
authored
Pin crate versions (#77)
1 parent d0ac5dd commit b00b212

File tree

5 files changed

+249
-260
lines changed

5 files changed

+249
-260
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2+
3+
version: 2
4+
5+
updates:
6+
- package-ecosystem: 'cargo'
7+
directory: '/local-registry'
8+
schedule:
9+
interval: 'weekly'
10+
groups:
11+
- all:
12+
patterns:
13+
- "*"
14+
versioning-strategy: 'increase'
15+
labels:
16+
- 'x:rep/tiny'

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ RUN rm src/lib.rs
2222
COPY src/* src/
2323
# build the executable
2424
RUN cargo build --release
25-
COPY bin/generate-registry.sh ${wd}/bin/
2625
# download jq
2726
RUN curl -L -o /usr/local/bin/jq "${JQ_URL}" \
2827
&& chmod +x /usr/local/bin/jq
@@ -31,7 +30,7 @@ RUN cargo install cargo-local-registry
3130
# download popular crates to local registry
3231
WORKDIR /local-registry
3332
COPY local-registry/* ./
34-
RUN ${wd}/bin/generate-registry.sh
33+
RUN cargo generate-lockfile && cargo local-registry --sync Cargo.lock .
3534

3635
# As of Dec 2019, we need to use the nightly toolchain to get JSON test output
3736
# tracking issue: https://github.com/rust-lang/rust/issues/49359
@@ -103,6 +102,4 @@ RUN echo '[source.crates-io]\n\
103102
local-registry = "/opt/test-runner/local-registry/"\n' >> $CARGO_HOME/config.toml
104103
# set entrypoint
105104
COPY bin/run.sh bin
106-
COPY --from=build /usr/local/cargo/bin/cargo-local-registry /usr/local/cargo/bin/
107-
COPY bin/generate-registry.sh bin
108105
ENTRYPOINT ["bin/run.sh"]

bin/generate-registry.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

local-registry/Cargo.toml

Lines changed: 232 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,240 @@
11
[package]
22
name = "dummy_package"
3-
version="0.1.0"
3+
version = "0.1.0"
44
edition = "2021"
55

66
[lib]
77
path = "dummy.rs"
88

99
[dependencies]
10+
alloc_counter = "0.0.4"
11+
anyhow = "1.0.72"
12+
array_tool = "1.0.3"
13+
arrayvec = "0.7.4"
14+
arr_macro = "0.2.1"
15+
ascii = "1.1.0"
16+
assert_float_eq = "1.1.3"
17+
as-slice = "0.2.1"
18+
async-channel = "1.9.0"
19+
async-std = "1.12.0"
20+
bencher = "0.1.5"
21+
bigdecimal = "0.4.1"
22+
bigint = "4.4.3"
23+
bimap = "0.6.3"
24+
binary-heap-plus = "0.5.0"
25+
binomial-iter = "0.1.0"
26+
bitflags = "2.3.3"
27+
bit-set = "0.5.3"
28+
bit-vec = "0.6.3"
29+
bitvec = "1.0.1"
30+
boolinator = "2.4.0"
31+
bstr = "1.6.0"
32+
bytecount = "0.6.3"
33+
cached = "0.44.0"
34+
case = "1.0.0"
35+
case_insensitive_hashmap = "1.0.0"
36+
caseless = "0.2.1"
37+
cast = "0.3.0"
38+
change-case = "0.2.0"
39+
char-iter = "0.1.0"
40+
char_stream = "0.1.8"
41+
chashmap = "2.2.2"
42+
chomp = "0.3.1"
43+
chrono = "0.4.26"
44+
clap = "4.3.17"
45+
compare = "0.1.0"
46+
const_fn_assert = "0.1.3+deprecated"
47+
conv = "0.3.3"
48+
convert_case = "0.6.0"
49+
counted-array = "0.1.2"
50+
counter = "0.5.7"
51+
cow-utils = "0.1.2"
52+
cranelift = "0.98.0"
53+
cranelift-module = "0.98.0"
54+
cranelift-simplejit = "0.68.0"
55+
criterion = "0.5.1"
56+
crossbeam = "0.8.2"
57+
crossbeam-channel = "0.5.8"
58+
crossbeam-utils = "0.8.16"
59+
csv = "1.2.2"
60+
custom_derive = "0.1.7"
61+
dashmap = "5.5.0"
62+
defaultmap = "0.5.0"
63+
derivative = "2.2.0"
64+
derive_more = "0.99.17"
65+
deunicode = "1.3.3"
66+
dia-time = "7.0.0"
67+
digits_iterator = "0.1.0"
68+
divisors = "0.2.1"
69+
divrem = "1.0.0"
70+
duplicate = "1.0.0"
71+
easybench = "1.1.1"
72+
either = "1.8.1"
73+
encode_unicode = "1.0.0"
74+
enum_derive = "0.1.7"
75+
enumflags2 = "0.7.7"
76+
enum-iterator = "1.4.1"
77+
enum-primitive-derive = "0.2.2"
78+
enumset = "1.1.2"
79+
enum-utils = "0.1.2"
80+
eval = "0.4.3"
81+
evalexpr = "11.0.0"
82+
factor = "0.4.0"
83+
factorial = "0.3.0"
84+
failure = "0.1.8"
85+
failure_derive = "0.1.8"
86+
fancy-regex = "0.11.0"
87+
fasteval = "0.2.4"
88+
fixedbitset = "0.4.2"
89+
flagset = "0.4.3"
90+
flame = "0.2.2"
91+
flamer = "0.5.0"
92+
fluent = "0.16.0"
93+
fnv = "1.0.7"
94+
foreach = "0.3.0"
95+
free-ranges = "1.0.7"
96+
frunk = "0.4.2"
97+
futures-core = "0.3.28"
98+
gcd = "2.3.0"
99+
genawaiter = "0.99.1"
100+
generational-arena = "0.2.9"
101+
grapheme = "0.0.0"
102+
hashbag = "0.1.11"
103+
hashbrown = "0.14.0"
104+
hashers = "1.0.1"
105+
hexlit = "0.5.5"
106+
humantime = "2.1.0"
107+
if_chain = "1.0.2"
108+
im = "15.1.0"
109+
image = "0.24.6"
110+
imageproc = "0.23.0"
111+
incremental-topo = "0.2.1"
112+
indexmap = "2.0.0"
113+
indicatif = "0.17.5"
114+
indoc = "2.0.3"
115+
inflections = "1.1.1"
116+
Inflector = "0.11.4"
117+
integer-sqrt = "0.1.5"
118+
int-enum = "0.5.0"
119+
itertools = "0.11.0"
120+
itoa = "1.0.9"
121+
kmp = "0.1.1"
122+
lalrpop-util = "0.20.0"
123+
lazysort = "0.2.1"
124+
lazy_static = "1.4.0"
125+
left-pad = "1.0.1"
126+
lexical-sort = "0.3.1"
127+
libm = "0.2.7"
128+
libmath = "0.2.1"
129+
linked-hash-map = "0.5.6"
130+
linked_hash_set = "0.1.4"
131+
log = "0.4.19"
132+
luhn = "1.0.1"
133+
macro-attr = "0.2.0"
134+
maplit = "1.0.2"
135+
memoize = "0.4.0"
136+
modexp = "0.2.2"
137+
mod_exp = "1.0.1"
138+
modinverse = "0.1.1"
139+
modulo = "0.1.2"
140+
multimap = "0.9.0"
141+
multiset = "0.0.5"
142+
mustache = "0.9.0"
143+
ndarray = "0.15.6"
144+
nom = "7.1.3"
145+
num = "0.4.1"
146+
num-bigint = "0.4.3"
147+
num_cpus = "1.16.0"
148+
num-derive = "0.4.0"
149+
num-digitize = "0.4.2"
150+
num_enum = "0.6.1"
151+
num-format = "0.4.4"
152+
num-integer = "0.1.45"
153+
numtoa = "0.2.4"
154+
num-traits = "0.2.15"
155+
once_cell = "1.18.0"
156+
onig = "6.4.0"
157+
ordered-float = "3.7.0"
158+
out = "8.0.0"
159+
pathfinding = "4.3.0"
160+
pcre = "0.2.3"
161+
peg = "0.8.1"
162+
permutator = "0.4.3"
163+
permutohedron = "0.2.4"
164+
pest = "2.7.1"
165+
pest_derive = "2.7.1"
166+
petgraph = "0.6.3"
167+
phf = "0.11.2"
168+
phf_macros = "0.11.2"
169+
pprof = "0.12.0"
170+
pretty_assertions = "1.4.0"
171+
primal = "0.3.2"
172+
primes = "0.3.0"
173+
prime_tools = "0.3.4"
174+
proptest = "1.2.0"
175+
queues = "1.1.0"
176+
quickcheck = "1.0.3"
177+
quickcheck_macros = "1.0.0"
178+
ramp = "0.7.0"
179+
rand = "0.8.5"
180+
rand_chacha = "0.3.1"
181+
rayon = "1.7.0"
182+
readonly = "0.2.10"
183+
recur-fn = "2.2.0"
184+
reduce = "0.1.5+deprecated"
185+
regex = "1.9.1"
186+
reikna = "0.12.3"
187+
rs_poker = "3.0.0-alpha.5"
188+
rstest = "0.18.1"
189+
rstest_reuse = "0.6.0"
190+
rug = "1.19.2"
191+
rusqlite = "0.29.0"
192+
rustc-hash = "1.1.0"
193+
rustversion = "1.0.14"
194+
say-number = "1.0.0"
195+
scan_fmt = "0.2.6"
196+
scoped-pool = "1.0.0"
197+
scoped_threadpool = "0.1.9"
198+
serde = "1.0.173"
199+
serde_derive = "1.0.173"
200+
serial_test = "2.0.0"
201+
simplelog = "0.12.1"
202+
simple_parallel = "0.3.0"
203+
sliding_windows = "3.0.0"
204+
slow_primes = "0.1.14"
205+
sparse-bitfield = "0.11.0"
206+
spinning_top = "0.2.5"
207+
static_assertions = "1.1.0"
208+
strfmt = "0.2.4"
209+
stringreader = "0.1.1"
210+
stringsort = "2.0.0"
211+
structopt = "0.3.26"
212+
strum = "0.25.0"
213+
strum_macros = "0.25.1"
214+
subslice = "0.2.3"
215+
test-case = "3.1.0"
216+
thiserror = "1.0.43"
217+
threadpool = "1.8.1"
218+
time = "0.3.23"
219+
tinyset = "0.4.15"
220+
tramp = "0.3.0"
221+
transpose = "0.2.2"
222+
try_opt = "0.2.0"
223+
unicase = "2.6.0"
224+
unic-char-range = "0.9.0"
225+
unic-langid = "0.9.1"
226+
unic-normal = "0.9.0"
227+
unicode-case-mapping = "0.5.0"
228+
unicode-normalization = "0.1.22"
229+
unicode_reader = "1.0.2"
230+
unicode-reverse = "1.0.8"
231+
unicode-segmentation = "1.10.1"
232+
unic-segment = "0.9.0"
233+
unidecode = "0.3.0"
234+
unzip-n = "0.1.2"
235+
uuid = "1.4.1"
236+
voca_rs = "1.15.2"
237+
watch = "0.2.3"
238+
workerpool = "1.2.0"
239+
xvii = "0.4.1"
240+
z3 = "0.11.1"

0 commit comments

Comments
 (0)