#merge #utils #file #concatenate #concat #content

admerge

Merge multiply sources into one, with advanced options

3 releases

0.1.3 Mar 17, 2021
0.1.2 Mar 10, 2021
0.1.1 Mar 9, 2021
0.1.0 Mar 9, 2021

#7 in #concatenate

41 downloads per month
Used in fcc

MIT license

84KB
1.5K SLoC

admerge

Crates.io Docs

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.

Usage

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.

License

Admerge is distributed under the terms of the MIT license.

See LICENSE-MIT, and COPYRIGHT for details.

Dependencies

~340–790KB
~18K SLoC