summaryrefslogtreecommitdiff
path: root/src/checksummer.rs
AgeCommit message (Collapse)AuthorFilesLines
2022-04-16refactor: rename Checksum to LabelLars Wirzenius1-49/+0
Label is a clearer and more accurate name for the type now that it is not just a checksum. Also, serialize a Label in tests, rather than using string literals. This is more correct, and we'll be changing serialization later. Sponsored-by: author
2022-04-16refactor: add a Literal variant to ChecksumLars Wirzenius1-4/+12
We've had fake checksums that are just arbitrary literal strings, and this change makes this more explicit. It's a preliminary change for later support for additional checksum algorithms. Sponsored-by: author
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+11
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-09-18refactor: define a Checksum type and use it where appropriateLars Wirzenius1-5/+27
This will make it harder to compare, say, a SHA-256 and a SHA3, later, when we add more checksum types. Sponsored-by: author
2020-11-09add checkummer.rsLars Wirzenius1-0/+8