#git-diff #unified #diff

unidiff

Unified diff parsing/metadata extraction library for Rust

11 releases

0.3.3 May 26, 2020
0.3.2 Nov 5, 2019
0.3.1 Nov 23, 2018
0.2.1 May 16, 2018
0.1.4 Mar 5, 2016

#18 in #git-diff

Download history 709/week @ 2024-06-19 630/week @ 2024-06-26 155/week @ 2024-07-03 531/week @ 2024-07-10 736/week @ 2024-07-17 717/week @ 2024-07-24 648/week @ 2024-07-31 955/week @ 2024-08-07 1097/week @ 2024-08-14 1031/week @ 2024-08-21 949/week @ 2024-08-28 909/week @ 2024-09-04 841/week @ 2024-09-11 1038/week @ 2024-09-18 1118/week @ 2024-09-25 897/week @ 2024-10-02

4,058 downloads per month

MIT license

25KB
555 lines

unidiff-rs

Build Status Coverage Status Crates.io

Unified diff parsing/metadata extraction library for Rust

Installation

Add it to your Cargo.toml:

[dependencies]
unidiff = "0.3"

Add extern crate unidiff to your crate root and your're good to go!

Documentation

To generate crate documentation locally, run:

$ cargo doc

Then you will be able to open the documentation under target/doc/unidiff directory.

Also you can read it online.

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Dependencies

~2–4MB
~83K SLoC