Make encoded_lenconst, allowing the creation of arrays sized to encode compile-time-known data lengths
0.21.3
Implement source instead of cause on Error types
Roll back MSRV to 1.48.0 so Debian can continue to live in a time warp
Slightly faster chunked encoding for short inputs
Decrease binary size
0.21.2
Rollback MSRV to 1.57.0 -- only dev dependencies need 1.60, not the main code
0.21.1
Remove the possibility of panicking during decoded length calculations
DecoderReader no longer sometimes erroneously ignores
padding #226
Breaking changes
Engine.internal_decode return type changed
Update MSRV to 1.60.0
0.21.0
Migration
Functions
< 0.20 function
0.21 equivalent
encode()
engine::general_purpose::STANDARD.encode() or prelude::BASE64_STANDARD.encode()
encode_config()
engine.encode()
encode_config_buf()
engine.encode_string()
encode_config_slice()
engine.encode_slice()
decode()
engine::general_purpose::STANDARD.decode() or prelude::BASE64_STANDARD.decode()
decode_config()
engine.decode()
decode_config_buf()
engine.decode_vec()
decode_config_slice()
engine.decode_slice()
The short-lived 0.20 functions were the 0.13 functions with config replaced with engine.
Padding
If applicable, use the preset engines engine::STANDARD, engine::STANDARD_NO_PAD, engine::URL_SAFE,
or engine::URL_SAFE_NO_PAD.
The NO_PAD ones require that padding is absent when decoding, and the others require that
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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on base64 to permit the latest version.
Changelog
Sourced from base64's changelog.
... (truncated)
Commits
b88fd5b
v0.21.4c70a896
Merge pull request #252 from marshallpierce/mp/const-encoded_len59048ff
Make encoded_len const6f9f734
v0.21.3a7e1f47
Merge pull request #224 from marshallpierce/mina86-a96b29d8
Improve comments and increase test paranoia.2b5112f
Merge branch 'master' into mina86-aa3f692b
Merge pull request #250 from marshallpierce/mp/esw-testa589c62
Add a test to EncoderStringWriter70d2b53
Merge pull request #249 from marshallpierce/mp/cleanupDependabot 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