fix(deps): update rust crate similar to v3#35
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
|
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.
This PR contains the following updates:
2.7→3.0Release Notes
mitsuhiko/similar (similar)
v3.0.0Compare Source
Algorithm::Histogram, including deadline-aware Myers fallback andcomprehensive regression/behavior tests.
Algorithm::Hunt.InlineChangeOptionsandInlineChangeMode, including semantic cleanup and newTextDiff::iter_inline_changes_with_options*methods. #92algorithms::diff_deadlineto avoid pathological runtimes on large, fully distinct inputs.
Algorithm::Myersperformance on heavily unbalanced diffs toavoid pathological slowdowns.
diff_deadline_rawentrypoints in the algorithm modules to bypassshared heuristics and keep minimal intrinsic trait bounds where needed.
examples/diffsthat can be used with the some of theexamples as input pairs.
CachedLookup, a helper for adapting virtual or computed sequences bymaterializing items on first access and then serving borrowed values through
normal indexing. The
owned-lookupexample demonstrates this approach forissue #33.
TextDiff::from_*andTextDiffConfig::diff_*now accept owned inputs(
String,Vec<u8>,Cow) in addition to borrowed inputs. This allowsreturning text diffs from functions without external owner lifetimes. #65
TextDiffno longer exposesold_slices/new_slices. Useold_len,new_len,old_slice,new_slice,iter_old_slices,iter_new_slices,old_lookup, andnew_lookupinstead.TextDiff::iter_changesnow panics on invalid out-of-boundsDiffOpranges instead of silently truncating iteration.
utils::diff_lines_inlinenow takes&TextDiffand options rather than(Algorithm, old, new, options).utils::diff_linesnow avoids a second line-tokenization pass.get_diff_ratiotodiff_ratio.no_std + allocsupport with an explicit defaultstdfeature.
hashbrownbackend forno_stdmap storage(
default-features = false, features = ["hashbrown"]), while the defaultno_stdbackend usesalloc::collections::BTreeMap.Capture::new,Replace::new,NoFinishHook::new,InlineChangeOptions::new,TextDiff::configure).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.