crabnebula-dev / cargo-packager

Rust executable packager, bundler and updater.
https://docs.crabnebula.dev/packager/
Apache License 2.0
241 stars 16 forks source link

(Question) Why there's a CLI on the "crates/packager" and "crates/utils" folders? #248

Closed hardBSDk closed 3 months ago

FabianLars-crabnebula commented 3 months ago

Well, the utils folder is shared across multiple crates: internally and potentially in your project (either directly, or via one of the other crates). With the size of the main packager crate it makes sense to move shared stuff into a seperate project, mainly to (potentially) improve compile times, but also to prevent circular dependencies in the future. Also packager is mainly a binary crate, so using it as a library at the same time may be a bit weird (considering its size at least)