1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//!
//! The GNU patch Rust library.
//!


#[macro_use] extern crate pest_derive;
#[macro_use] extern crate failure_derive;
extern crate failure;
extern crate pest;


mod error;
mod parser;



pub use {
    std::result,
    error::Error as PatchError,
    parser::PatchParser,
};

pub type PatchResult<T> = result::Result<T, PatchError>;