Armin Ronacher
717757e156
Another clippy fix
2025-01-19 00:32:29 +01:00
Armin Ronacher
e4edc6ff5a
Make clippy happy
2024-07-02 16:32:21 +02:00
Armin Ronacher
75d40b041b
Add a way to define a deadline for inline changes ( #61 )
2024-03-28 21:52:56 +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
4a81e573c2
Fixed a clippy lint
2021-10-03 08:53:23 +02:00
Armin Ronacher
f0e38d862b
Added optional serde support
2021-10-03 08:46:57 +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
Armin Ronacher
28bfd4698a
Add default timeout for inline highlighting
2021-02-21 00:18:50 +01:00
Armin Ronacher
45bcb3943c
Performance improvements for LCS and inline highlighting ( #16 )
2021-02-17 20:59:55 +01:00
Armin Ronacher
df4be6b493
Made the unicode feature optional for inline highlighting
2021-02-07 21:55:57 +01:00
Armin Ronacher
12e7d5e4b0
More generic lifetimes for iter_changes and added iter_all_changes
2021-02-04 12:15:20 +01:00
Armin Ronacher
4770479fd7
Bigger refactorings in module layout
2021-02-03 00:05:54 +01:00
Armin Ronacher
d4495038a3
Simplified change newline handling
2021-02-02 22:54:22 +01:00
Armin Ronacher
1991955c52
Restructure crate layout
2021-02-02 22:44:52 +01:00
Armin Ronacher
1f73e01ff1
Rename split methods to tokenize
2021-02-02 21:56:55 +01:00
Armin Ronacher
34e5b3d571
Some internal refactorings
2021-02-02 20:22:10 +01:00
Armin Ronacher
4b85e70f91
Add support for byte diffing ( #7 )
...
Restructured text diffing to also support bstr
2021-02-02 14:16:00 +01:00
Armin Ronacher
e53427b56f
Expose get_diff_ratio
2021-02-01 14:05:44 +01:00
Armin Ronacher
37587908de
Add proper multi-sequence inline highlighting
...
Fixes #5
2021-02-01 01:38:00 +01:00
Armin Ronacher
e14b26502b
Make InlineChange consistent with Change for missing_newline
2021-01-31 22:16:45 +01:00
Armin Ronacher
0a4dd224f5
Added support for unicode word splitting and change inline to use it
2021-01-31 22:13:56 +01:00
Armin Ronacher
f3e401fc17
Change behavior of inline diff to be word based
...
This also fixes a bug with bad indexes and updates the inline terminal
example.
2021-01-31 22:02:09 +01:00
Armin Ronacher
a9a11e9099
Make missing newline hint in unified diff configurable
2021-01-31 19:23:22 +01:00
Armin Ronacher
4db3f2f77e
Change inline changes code to patience
2021-01-31 18:26:16 +01:00
Armin Ronacher
b601164a60
Added initial support for inline diff highlighting
2021-01-31 18:22:37 +01:00