66a392e610
update docstrings
2025-09-11 15:31:36 -05:00
332ca5582b
cargo format
2025-09-11 15:20:00 -05:00
fdecdbc6c9
fp
2025-09-11 15:18:29 -05:00
631826d4e9
more snapshots
2025-09-11 13:57:30 -05:00
0fb164d310
feat: other snapshots and ci
2025-09-11 13:52:48 -05:00
7e86fb2e55
feat: rename similar -> likewise
2025-09-11 13:31:09 -05:00
J. Ryan Stinnett
a169e29954
Fix Myers spelling in docs ( #75 )
2025-02-05 23:12:45 +01:00
Armin Ronacher
5077768172
Add wasm tests ( #74 )
2025-01-19 15:36:34 +01:00
Armin Ronacher
177ce9e700
Add wasm32_web_time feature ( #73 )
2025-01-19 01:11:09 +01:00
Armin Ronacher
717757e156
Another clippy fix
2025-01-19 00:32:29 +01:00
Armin Ronacher
157f01564d
Make clippy happier ( #72 )
2025-01-19 00:31:21 +01:00
Armin Ronacher
e4edc6ff5a
Make clippy happy
2024-07-02 16:32:21 +02:00
Armin Ronacher
69be03c583
Make clippy happy
2024-06-19 10:51:03 +02:00
Armin Ronacher
75d40b041b
Add a way to define a deadline for inline changes ( #61 )
2024-03-28 21:52:56 +01:00
Armin Ronacher
e9a05ed6fa
Fix overlap bug in LCS ( #59 )
...
* Fix overlap bug in LCS
* Mention pull request
2023-12-29 22:18:04 +01:00
Armin Ronacher
18712783da
Always call finish ( #58 )
2023-12-29 22:02:45 +01:00
Mads Marquart
f5c1afa8f4
Use unwrap_or ( #56 )
2023-12-29 20:56:48 +01:00
WJH
2b31f65445
doc(inline/iter_strings_lossy): describe different behaviors ( #52 )
2023-10-12 23:06:38 +02:00
Armin Ronacher
86f68a6394
Make clippy happy
2023-10-07 17:19:27 +02:00
Armin Ronacher
e85ddb0d18
Added value_ref and value_mut
...
Fixes #51
2023-10-07 17:17:37 +02:00
Wilfred Hughes
de455873da
Spelling and grammar fixes ( #49 )
2023-08-15 19:05:12 +02:00
Tshepang Mbambo
9f76d88c3d
fix some english things ( #48 )
2023-07-11 22:26:06 +02:00
Armin Ronacher
ae815d13ea
Remove mention of Hunt–McIlroy / Hunt–Szymanski
...
Refs #44
2023-02-01 10:45:03 +01:00
alexjg
679c32ddee
check for identical sequences in lcs to avoid overflow panic ( #43 )
2022-11-14 21:39:48 +01:00
Armin Ronacher
de6f09a01c
Remove unused lifetime
2022-08-01 09:34:35 +02:00
Armin Ronacher
823cb566df
Removed the mention of panics on context_radius
2022-07-28 21:06:08 +02:00
Armin Ronacher
ff5f4caaa3
Alternative fix for #37 that lets the code hobble on
2022-07-28 20:13:45 +02:00
Armin Ronacher
3a938ae1d3
Raise an explicit panic when context_lines is 0. Fixes #37
2022-07-28 15:15:37 +02:00
Kian-Meng Ang
3c784d6e9d
Fix typos and markdown ( #36 )
2022-07-22 01:00:36 +02:00
Armin Ronacher
7c04c9b8d3
Derive a default instead of manual impl
2022-01-23 21:02:59 +01:00
Armin Ronacher
4a81e573c2
Fixed a clippy lint
2021-10-03 08:53:23 +02:00
Armin Ronacher
40edf6d427
Added missing snapshots
2021-10-03 08:50:14 +02:00
Armin Ronacher
f0e38d862b
Added optional serde support
2021-10-03 08:46:57 +02:00
Armin Ronacher
e3c6e5498a
Remove deprecated slice diffing methods
2021-09-11 17:42:46 +02:00
Armin Ronacher
a3e10af892
Make the change type be generic over any T rather &T ( #31 )
...
This makes the interface of this crate more flexible as the utility
methods such as `iter_changes` now also work if a container does not
contain references.
2021-09-11 11:20:51 +02:00
Ben Armstead
0b8e237280
Remove unnecessary borrow ( #30 )
2021-09-11 00:35:23 +02:00
Armin Ronacher
3cb7d5ab76
Fix the ranges in unified diff output
2021-02-25 23:20:56 +01:00
Armin Ronacher
7e628d78d8
Add compaction support ( #22 )
2021-02-25 22:13:43 +01:00
Armin Ronacher
ddb73d8351
Added some missing tests
2021-02-21 20:06:28 +01:00
Armin Ronacher
1a0aa9b142
Reuse common prefix / common suffix functions
2021-02-21 19:52:10 +01:00
Armin Ronacher
b468bf94e3
Refactor patience unique code to be more readable
2021-02-21 19:38:40 +01:00
Armin Ronacher
c32556cfee
Make clippy happy
2021-02-21 15:52:05 +01:00
Armin Ronacher
77c7654589
Refactor some of the patience code into a utils module
2021-02-21 15:38:08 +01:00
Armin Ronacher
28bfd4698a
Add default timeout for inline highlighting
2021-02-21 00:18:50 +01:00
Armin Ronacher
56f50a0c87
Use is_empty_range in a function where it was missed
2021-02-20 23:32:34 +01:00
Armin Ronacher
5a24bb8652
Move empty range function into algorithm utils
2021-02-20 20:58:01 +01:00
Armin Ronacher
1cc4ec4d25
Refactor to add a is_empty_range function
2021-02-20 15:51:45 +01:00
Armin Ronacher
c0e37a9c67
Change snake type to a tuple of two values
2021-02-20 14:34:55 +01:00
Armin Ronacher
74e2805a95
Added deadlines to all algorithms ( #18 )
...
This adds a deadline to all algorithms which lets one bail in a fixed amount of
time to avoid pathological cases.
2021-02-20 10:12:06 +01:00
Armin Ronacher
45bcb3943c
Performance improvements for LCS and inline highlighting ( #16 )
2021-02-17 20:59:55 +01:00