cdtoc 0.13.2

Parser and tools for CDTOC metadata tags.
Documentation
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
# Changelog



## [0.13.2]https://github.com/Blobfolio/cdtoc/releases/tag/v0.13.2 - 2026-04-16

### Changed

* Use https for AccurateRip URLs
* Update links in docs



## [0.13.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.13.1 - 2026-04-07

### Changed

* Update CUETools URLs to new domain (`db.cue.tools`)



## [0.13.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.13.0 - 2026-03-27

### Changed

* Bump `sha1` to `0.11`
  * Remove passthrough `sha1/asm` crate feature (no longer supported upstream)



## [0.12.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.12.0 - 2026-03-05

### Changed

* Bump MSRV to `1.94`
* Miscellaneous code cleanup and lints



## [0.11.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.11.1 - 2025-09-18

### Changed

* Remove `faster-hex` dependency
* Remove `itoa` dependency
* Remove `trimothy` dependency
* Replace `serde` with `serde_core` dependency
* Various minor performance improvements
* Miscellaneous code cleanup and lints



## [0.11.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.11.0 - 2025-06-26

### Changed

* Bump `brunch` to `0.11` (dev)
* Bump `dactyl` to `0.13`
* Bump `trimothy` to `0.9`
* Bump MSRV to `1.88`
* Impl `FusedIterator` for `Tracks`
* Miscellaneous code cleanup and lints



## [0.10.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.10.0 - 2025-06-01

### Changed

* Bump `dactyl` to `0.12`
* Bump `trimothy` to `0.8`
* `Duration::to_f64_lossy` is now const
* `Duration::to_std_duration_lossy` is now const
* `Toc::audio_leadin` is now const
* `Toc::audio_leadin_normalized` is now const
* `Toc::duration` is now const
* `Toc::htoa` is now const
* `Toc::leadin` is now const
* `Toc::leadin_normalized` is now const



## [0.9.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.9.1 - 2025-05-30

### Changed

* Bump `dactyl` to `0.11`
* Miscellaneous code cleanup and lints



## [0.9.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.9.0 - 2025-05-15

### Changed

* Bump `brunch` to `0.10` (dev)
* Bump MSRV to `1.87`
* `Toc::audio_len` is now const
* `Toc::audio_sectors` is now const
* `Toc::audio_tracks` is now const
* Miscellaneous code cleanup and lints



## [0.8.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.8.1 - 2025-04-03

### Changed

* Miscellaneous code cleanup and lints



## [0.8.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.8.0 - 2025-02-25

### Changed

* Bump `brunch` to `0.9` (dev)
* Bump `dactyl` to `0.10`
* Bump MSRV to `1.85`
* Bump Rust edition to `2024`
* Bump `trimothy` to `0.7`



## [0.7.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.7.0 - 2025-02-20

### New

* `Toc::ctdb_url`
* `Toc::musicbrainz_url`

### Removed

* `AccurateRip::pretty_print`
* `ShaB64::pretty_print`

### Changed

* Miscellaneous code changes and lints



## [0.6.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.6.1 - 2025-01-09

### Changed

* Miscellaneous code changes and lints



## [0.6.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.6.0 - 2024-12-13

### Changed

* Bump `brunch` to `0.8` (dev)
* Bump `dactyl` to `0.9`
* Bump MSRV to `1.83`



## [0.5.3]https://github.com/Blobfolio/cdtoc/releases/tag/v0.5.3 - 2024-11-28

### Changed

* Bump `brunch` to `0.7` (dev)
* Bump `dactyl` to `0.8`
* Bump `trimothy` to `0.6`
* Reduce intermediary allocations for AccurateRip::to_string, ::checksum_url
* Miscellaneous code changes and lints



## [0.5.2]https://github.com/Blobfolio/cdtoc/releases/tag/v0.5.2 - 2024-11-07

### Changed

* Add (more) inline hints
* Add `Formatter` width/fill/align/etc. support for `AccurateRip`, `Cddb`, `ShaB64`
* Improve docs, test coverage



## [0.5.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.5.1 - 2024-10-10

### Changed

* Bump `faster-hex` to `0.10`



## [0.5.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.5.0 - 2024-09-05

### Changed

* Miscellaneous code cleanup and lints
* Improved documentation
* Bump MSRV to `1.81`
* Bump `brunch` to `0.6`



## [0.4.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.4.0 - 2024-07-29

### Changed

* Use new std `<[u8]>::trim_ascii`
* Bump MSRV `1.80`
* Bump `trimothy` to `0.3`



## [0.3.5]https://github.com/Blobfolio/cdtoc/releases/tag/v0.3.5 - 2024-02-08

### Changed

* Bump `dactyl` to `0.7`



## [0.3.4]https://github.com/Blobfolio/cdtoc/releases/tag/v0.3.4 - 2023-11-24

### Changed

* Bump `faster-hex` to `0.9`



## [0.3.3]https://github.com/Blobfolio/cdtoc/releases/tag/v0.3.3 - 2023-11-16

### Changed

* Add explicit lifetime (to fix [#115010]https://github.com/rust-lang/rust/issues/115010)



## [0.3.2]https://github.com/Blobfolio/cdtoc/releases/tag/v0.3.2 - 2023-10-15

### Changed

* Bump `dactyl` to `0.6`



## [0.3.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.3.1 - 2023-10-05

### Changed

* Minor code lints and cleanup
* Bump `trimothy` to `0.2`



## [0.3.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.3.0 - 2023-10-03

### New

* `AccurateRip::DRIVE_OFFSET_URL`
* `AccurateRip::parse_drive_offsets`



## [0.2.3]https://github.com/Blobfolio/cdtoc/releases/tag/v0.2.3 - 2023-09-27

### New

* `Toc::audio_leadin_normalized`
* `Toc::audio_leadout_normalized`
* `Toc::data_sector_normalized`
* `Toc::leadin_normalized`
* `Toc::leadout_normalized`



## [0.2.2]https://github.com/Blobfolio/cdtoc/releases/tag/v0.2.2 - 2023-09-12

### New

* `Toc::htoa`
* `Track::is_htoa`



## [0.2.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.2.1 - 2023-06-25

### New

* `Track::msf`
* `Track::msf_normalized`
* `Track::sector_range_normalized`

### Changed

* Bump `faster-hex` to `0.8`



## [0.2.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.2.0 - 2023-06-01

### Changed

* Bump MSRV `1.70`
* Replace some `unsafe` code blocks with safe alternatives
* Add debug/assertions for logical redundancy
* Improve unit test coverage
* Update dependencies



## [0.1.8]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.8 - 2023-04-20

### Changed

* Minor code cleanup



## [0.1.7]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.7 - 2023-02-15

### Changed

* Add `visit_seq` deserializer support for `Track`
* Require `faster-hex` dependency (it was previously optional)
* Improved hex decode/encode performance
* Improved base64 decode/encode performance for CTDB/MusicBrainz IDs

### New

* Add "asm" crate feature, disabled by default, a passthru for [sha1/asm]https://github.com/RustCrypto/hashes/blob/master/sha1/Cargo.toml#L20
* Add `FromStr` and `TryFrom` aliases for `AccurateRip::decode`
* Add `FromStr` and `TryFrom` aliases for `Cddb::decode`
* Add `FromStr` and `TryFrom` aliases for `ShaB64::decode`

### Removed

* Obsolete "faster-hex" crate feature
* Optional "base64" crate feature



## [0.1.6]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.6 - 2023-02-04

### Changed

* Improve docs.rs environment detection
* Declare "faster-hex" feature explicitly

### New

* `AccurateRip::decode`
* `Cddb::decode`
* Return copy-friendly type for MusicBrainz and CTDB ID methods
* Added `serde` crate feature for optional de/serialization support



## [0.1.5]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.5 - 2023-01-28

### Fix

* Incorrect `Toc::to_string` for discs with exactly 16 tracks.



## [0.1.4]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.4 - 2023-01-28

### New

* `AccurateRip::pretty_print`

### Changed

* Various performance improvements



## [0.1.3]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.3 - 2023-01-26

### Changed

* Bump brunch to `0.4`



## [0.1.2]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.2 - 2023-01-10

### New

* `Toc::duration`

### Changed

* Bump `base64` to `0.21`



## [0.1.1]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.1 - 2023-01-01

### New

* `Toc::from_durations`
* `Toc::set_audio_leadin`

### Changed

* Enforce minimum audio leadin (`150`)



## [0.1.0]https://github.com/Blobfolio/cdtoc/releases/tag/v0.1.0 - 2022-12-25

Initial release!