MC-Repack can also be used as a library. This crate contains methods necessary to work with files that need optimizations.