From 58e5286a1f1cb72bb3cfd1f1f6f415a4b80bdef2 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 22 Jul 2020 01:26:48 +0200 Subject: Try modifying diff hunk with 'unidiff' Testing out 'unidiff' to build the patch. Trying to see if it will adjust the line numbers automatically when the patch is modified. Doesn't look like it. Seems like it has a nice interface, though. Still having trouble applying the patch due to complaints of patch format errors. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f00d14f..eef7b03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,4 @@ regex = "1.3.9" serde = { version = "1.0.114", features = ["derive"] } serde_json = "1.0.56" thiserror = "1.0.20" +unidiff = "0.3.3" -- cgit v1.2.3