Skip to content

Commit 55a93f1

Browse files
authored
hybrid-array: expand sizes (#1032)
The number of sizes we define is a compile time vs utility tradeoff. We're hitting real world need for some of these additional sizes in the `RustCrypto/hashes` repo. This expands the available sizes to cover these use cases, and potential additional ones.
1 parent 37c1560 commit 55a93f1

File tree

1 file changed

+194
-0
lines changed

1 file changed

+194
-0
lines changed

hybrid-array/src/sizes.rs

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,204 @@ impl_array_size! {
121121
62 => U62,
122122
63 => U63,
123123
64 => U64,
124+
65 => U65,
125+
66 => U66,
126+
67 => U67,
127+
68 => U68,
128+
69 => U69,
129+
70 => U70,
130+
71 => U71,
131+
72 => U72,
132+
73 => U73,
133+
74 => U74,
134+
75 => U75,
135+
76 => U76,
136+
77 => U77,
137+
78 => U78,
138+
79 => U79,
139+
80 => U80,
140+
81 => U81,
141+
82 => U82,
142+
83 => U83,
143+
84 => U84,
144+
85 => U85,
145+
86 => U86,
146+
87 => U87,
147+
88 => U88,
148+
89 => U89,
149+
90 => U90,
150+
91 => U91,
151+
92 => U92,
152+
93 => U93,
153+
94 => U94,
154+
95 => U95,
124155
96 => U96,
156+
97 => U97,
157+
98 => U98,
158+
99 => U99,
159+
100 => U100,
160+
101 => U101,
161+
102 => U102,
162+
103 => U103,
163+
104 => U104,
164+
105 => U105,
165+
106 => U106,
166+
107 => U107,
167+
108 => U108,
168+
109 => U109,
169+
110 => U110,
170+
111 => U111,
171+
112 => U112,
172+
113 => U113,
173+
114 => U114,
174+
115 => U115,
175+
116 => U116,
176+
117 => U117,
177+
118 => U118,
178+
119 => U119,
179+
120 => U120,
180+
121 => U121,
181+
122 => U122,
182+
123 => U123,
183+
124 => U124,
184+
125 => U125,
185+
126 => U126,
186+
127 => U127,
125187
128 => U128,
188+
129 => U129,
189+
130 => U130,
190+
131 => U131,
191+
132 => U132,
192+
133 => U133,
193+
134 => U134,
194+
135 => U135,
195+
136 => U136,
196+
137 => U137,
197+
138 => U138,
198+
139 => U139,
199+
140 => U140,
200+
141 => U141,
201+
142 => U142,
202+
143 => U143,
203+
144 => U144,
204+
145 => U145,
205+
146 => U146,
206+
147 => U147,
207+
148 => U148,
208+
149 => U149,
209+
150 => U150,
210+
151 => U151,
211+
152 => U152,
212+
153 => U153,
213+
154 => U154,
214+
155 => U155,
215+
156 => U156,
216+
157 => U157,
217+
158 => U158,
218+
159 => U159,
219+
160 => U160,
220+
161 => U161,
221+
162 => U162,
222+
163 => U163,
223+
164 => U164,
224+
165 => U165,
225+
166 => U166,
226+
167 => U167,
227+
168 => U168,
228+
169 => U169,
229+
170 => U170,
230+
171 => U171,
231+
172 => U172,
232+
173 => U173,
233+
174 => U174,
234+
175 => U175,
235+
176 => U176,
236+
177 => U177,
237+
178 => U178,
238+
179 => U179,
239+
180 => U180,
240+
181 => U181,
241+
182 => U182,
242+
183 => U183,
243+
184 => U184,
244+
185 => U185,
245+
186 => U186,
246+
187 => U187,
247+
188 => U188,
248+
189 => U189,
249+
190 => U190,
250+
191 => U191,
126251
192 => U192,
252+
193 => U193,
253+
194 => U194,
254+
195 => U195,
255+
196 => U196,
256+
197 => U197,
257+
198 => U198,
258+
199 => U199,
259+
200 => U200,
260+
201 => U201,
261+
202 => U202,
262+
203 => U203,
263+
204 => U204,
264+
205 => U205,
265+
206 => U206,
266+
207 => U207,
267+
208 => U208,
268+
209 => U209,
269+
210 => U210,
270+
211 => U211,
271+
212 => U212,
272+
213 => U213,
273+
214 => U214,
274+
215 => U215,
275+
216 => U216,
276+
217 => U217,
277+
218 => U218,
278+
219 => U219,
279+
220 => U220,
280+
221 => U221,
281+
222 => U222,
282+
223 => U223,
283+
224 => U224,
284+
225 => U225,
285+
226 => U226,
286+
227 => U227,
287+
228 => U228,
288+
229 => U229,
289+
230 => U230,
290+
231 => U231,
291+
232 => U232,
292+
233 => U233,
293+
234 => U234,
294+
235 => U235,
295+
236 => U236,
296+
237 => U237,
297+
238 => U238,
298+
239 => U239,
299+
240 => U240,
300+
241 => U241,
301+
242 => U242,
302+
243 => U243,
303+
244 => U244,
304+
245 => U245,
305+
246 => U246,
306+
247 => U247,
307+
248 => U248,
308+
249 => U249,
309+
250 => U250,
310+
251 => U251,
311+
252 => U252,
312+
253 => U253,
313+
254 => U254,
314+
255 => U255,
127315
256 => U256,
316+
272 => U272,
317+
288 => U288,
318+
304 => U304,
319+
320 => U320,
320+
336 => U336,
321+
352 => U352,
128322
384 => U384,
129323
448 => U448,
130324
512 => U512,

0 commit comments

Comments
 (0)