#diff #algorithm

diffs

A number of diff algorithms, also called longest common subsequence

8 releases (4 breaking)

0.5.1 Mar 10, 2023
0.5.0 Feb 27, 2023
0.4.1 Feb 1, 2021
0.4.0 Mar 24, 2020
0.1.0 Nov 29, 2018

#574 in Algorithms

Download history 2591/week @ 2024-12-08 1988/week @ 2024-12-15 1078/week @ 2024-12-22 527/week @ 2024-12-29 1084/week @ 2025-01-05 1044/week @ 2025-01-12 1520/week @ 2025-01-19 1400/week @ 2025-01-26 1759/week @ 2025-02-02 1966/week @ 2025-02-09 1734/week @ 2025-02-16 1660/week @ 2025-02-23 1210/week @ 2025-03-02 1491/week @ 2025-03-09 1808/week @ 2025-03-16 1365/week @ 2025-03-23

5,969 downloads per month
Used in 14 crates (7 directly)

MIT/Apache

25KB
645 lines

A generic diff library in Rust

This is an LCS-based diff library that works on slices of types implementing PartialEq.


lib.rs:

Various diff (longest common subsequence) algorithms, used in practice:

No runtime deps