Merge cutover/shared-base64 into cutover/shared-base64-decoder

Pin craft-mime to 254e9a40, the craft-libs main revision craft-deckcraft-format
already uses; craft-mime and craft-codepage are unchanged since 0325b2d7.
This commit is contained in:
FredApps committed 2026-11-16 06:55:02 +01:00
commit 1d30834cca
16 files changed
+264 -487

No files matched your search

+2
View File
@@ -695,6 +695,8 @@ mod tests {
{
assert_eq!(base64_encode(input.as_bytes()), expected);
}
// The decoder accepts both alphabets, so pin the standard one explicitly.
assert_eq!(base64_encode(&[0xfb, 0xff]), "+/8=");
let all: Vec<u8> = (0..=255).cycle().take(513).collect();
for len in 0..=all.len() {
let encoded = base64_encode(&all[..len]);