Crate mc_repack_core

source ·
Expand description

MC-Repack is initially built as a CLI app, but can also be used as a library. This crate contains methods necessary to work with files that need optimizations.

This crate considers that the repacked files are used in Minecraft mods. You can still use the library for other types, like Android or Gradle files.


  • Implementations of configuration map and traits for accepting config types.
  • Reading and saving entries (file system or ZIP archive).
  • Error collecting for entries.
  • Working on file extensions.
  • File operations used for repacking.
  • Minifiers for various file types.


  • A progress state to update information about currently optimized entry