/patch-rs

A fork of patch crate with generic string type parameter

Primary LanguageRustMIT LicenseMIT

Patch

Checks Crates.io Badge docs.rs Lines of Code

Rust crate for parsing and producing patch files in the Unified Format.

The parser attempts to be forgiving enough to be compatible with diffs produced by programs like git. It accomplishes this by ignoring the additional code context and information provided in the diff by those programs.

See the Documentation for more information and for examples.