A Rust library for merging files or in-memory buffers, featuring:
- Easy file merging via
FileMerger
. - Easy in-memory buffer merging via
RsMerger
. - Skip unwanted contents of each merge unit from either start or end.
- Fill paddings before, between and/or after each merge unit.
- Force presences of ending newlines after each merge unit.
Add this to your Cargo.toml
:
[dependencies]
admerge = "0.1"
To get started using admerge
, see documentation.
For an out-of-box cli that backed by this crate, see fcc.
Admerge is distributed under the terms of the MIT license.
See LICENSE-MIT, and COPYRIGHT for details.