patch_rs/
lib.rs

1//!
2//! The Patch library.
3//!
4
5mod error;
6mod parser;
7mod line;
8mod context;
9mod patch;
10
11pub use crate::{
12    error::Error as PatchError,
13    parser::PatchProcessor,
14    line::Line,
15    patch::Patch,
16    context::{Context, ContextHeader},
17};
18
19pub type PatchResult<T> = Result<T, PatchError>;