deps: bump smoothutf8 to 0.2#246
Open
iainmcgin wants to merge 1 commit into
Open
Conversation
verify_with_slack is unchanged in 0.2, so the existing per-field conditional path in buffa::types is untouched. The user-visible win is that wasm32 targets now run the portable shift-DFA validator instead of delegating to core::str::from_utf8. 0.2 also ships SlackBuf<'a>, a safe wrapper for the slack-buffer invariant — not adopted here; that's a separate decode-entry-point change to let callers (notably connect-rust, which owns the wire Vec) hand in a pre-padded buffer and drop the unsafe at types.rs. First .changes/unreleased/ fragment on main.
|
All contributors have signed the CLA ✍️ ✅ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
verify_with_slackis unchanged in 0.2, so the existing per-field-conditional path inbuffa::typesis untouched — this is a pure dependency bump. The user-visible win is thatwasm32targets now run smoothutf8's portable shift-DFA validator instead of delegating tocore::str::from_utf8(0.1.x had acfg(target_arch = "wasm32")fallback).0.2 also ships
SlackBuf<'a>, a safe wrapper for the slack-buffer invariant. Not adopted here — that needs a decode-entry-point change so callers that own the wire buffer (notably connect-rust, which owns the growingVec) can hand in a pre-padded buffer and let buffa drop theunsafeattypes.rs. Separate PR.First real
.changes/unreleased/fragment on main since #230.