DecodeSliceError::OutputSliceTooSmall is now conservative rather than precise. That is, the error will only occur if the decoded output cannot fit, meaning that Engine::decode_slice can now be used with exactly-sized output slices. As part of this, Engine::internal_decode now returns DecodeSliceError instead of DecodeError, but that is not expected to affect any external callers.
DecodeError::InvalidLength now refers specifically to the number of valid symbols being invalid (i.e. len % 4 == 1), rather than just the number of input bytes. This avoids confusing scenarios when based on interpretation you could make a case for either InvalidLength or InvalidByte being appropriate.
Decoding is somewhat faster (5-10%)
0.21.7
Support getting an alphabet's contents as a str via Alphabet::as_str()
0.21.6
Improved introductory documentation and example
0.21.5
Add Debug and Clone impls for the general purpose Engine
0.21.4
Make encoded_lenconst, allowing the creation of arrays sized to encode compile-time-known data lengths
Commits
5d70ba7 Merge pull request #269 from marshallpierce/mp/decode-precisely
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the crates-io group with 5 updates in the / directory:
0.4.20
0.4.21
0.21.3
0.22.0
1.18.0
1.19.0
0.26.0
0.26.1
0.9.3
0.9.4
Updates
log
from 0.4.20 to 0.4.21Changelog
Sourced from log's changelog.
Commits
3ccdc28
Merge pull request #617 from rust-lang/cargo/0.4.216153cb2
prepare for 0.4.21 releasef0f7494
Merge pull request #613 from rust-lang/feat/kv-cleanup2b220bf
clean up structured logging example646e9ab
use original Visitor name for VisitValuecf85c38
add needed subfeatures to kv_unstable73e9539
fix up capturing of :err31bb4b0
move error macros togetherad91711
support field shorthand in macros90a347b
restore removed APIs as deprecatedUpdates
base64
from 0.21.3 to 0.22.0Changelog
Sourced from base64's changelog.
Commits
5d70ba7
Merge pull request #269 from marshallpierce/mp/decode-preciselyefb6c00
Release notes2b91084
Add some tests to boost coverage9e9c7ab
Engine::internal_decode now returns DecodeSliceErrora8a60f4
Decode main loop improvementsa25be06
Simplify leftover output writes9979cc3
Keep morsels as separate bytes37670c5
Bump dev toolchain version (#268)9652c78
v0.21.708deccf
provide as_str() method to return the alphabet characters (#264)Updates
once_cell
from 1.18.0 to 1.19.0Changelog
Sourced from once_cell's changelog.
Commits
c48d3c2
Merge pull request #251 from taks/portable-atomic8211d80
Fix CI2715aa9
v1.19.0dffcae4
Fix CIde4cd9d
Revert atomic-polyfill featuree26736f
Fix CI5f88676
Use portable_atomic instead of atomic-polyfill874f937
clarify that MSRV does bump the minor version3cd6549
Merge #245a2eabc9
Add--generate-link-to-definition
option when building on docs.rsUpdates
webpki-roots
from 0.26.0 to 0.26.1Release notes
Sourced from webpki-roots's releases.
Commits
0ffea70
Cargo: version 0.26.0 -> 0.26.1d34ca74
process upstream February root updateseacbc6c
Update rcgen requirement from 0.11.1 to 0.12.00df3d50
create wepki-ccadb crate63aedbb
create workspace with webpki-roots crate46b65aa
doc: add example of how to use with rustls 0.22Updates
core-foundation
from 0.9.3 to 0.9.4Commits
795398a
Bump the version of core-foundation and the dependency on core-foundation-sys64dd01a
NSScreen (cocoa): Add maximumRefreshInterval and minimumRefreshInterval (#646)58972ae
Update to 2018 edition. (#642)eb41f50
Bump core-graphics-types version723886f
Only importSInt32
on macOS. (#641)6484a6e
ci: Update to actions/checkout@v4 (#640)3ff7cc2
docs: Fix various markdown issues. (#639)c4f4ad2
feat: add link feature (#608)fbde503
Bump cocoa-foundation version5be8e2c
Bump core-text version (#638)Updates
core-foundation-sys
from 0.8.4 to 0.8.6Commits
64dd01a
NSScreen (cocoa): Add maximumRefreshInterval and minimumRefreshInterval (#646)58972ae
Update to 2018 edition. (#642)eb41f50
Bump core-graphics-types version723886f
Only importSInt32
on macOS. (#641)6484a6e
ci: Update to actions/checkout@v4 (#640)3ff7cc2
docs: Fix various markdown issues. (#639)c4f4ad2
feat: add link feature (#608)fbde503
Bump cocoa-foundation version5be8e2c
Bump core-text version (#638)099bd27
rustfmt fixes (#637)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show