Well, to be honest I always build my mods (when possible) to have no dependencies (it's easier to understand the code for me). I add the dependency so it does not get overwritten by other mods.
I don't fully remember the code for this mod, but I pretty sure if someone modifies a couple of lines it could be possibly work without Krastorio 2.