A simple Fabric mod to enable toggling of the mining cooldown.
The code of this mod is heavily based on Daxanius' NoMiningCooldown, licensed under GPL3.
Files heavily based on their repo are:
src/main/kotlin/technology/bootleg/miningcooldowntoggle/MiningCooldownToggleClient.kt
src/main/java/technology/bootleg/miningcooldowntoggle/mixin/ClientPlayerInteractionManagerMixin.java
Details on exactly where the code came from and the particular tweaks I made are included in each file.