Stone/Coal/Iron/Copper/Uranium/Oil deposits are infinite and do not deplete. Mining speed is default, despite displayed yield over 100%. Oil extraction is dependant on richness of an oil field as in vanilla, however it will not drop below whatever yield it is found with.
This mod will make the minerals infinite, when you place a mining tool on the ground it will mine a lot of minerals.
Always test the mods you install on a new save and backup the saves you don't want to lose.
This mod is a reupload from the mod: https://mods.factorio.com/mod/inf_res
The author of the original mod is: https://mods.factorio.com/user/noobrzor
I just updated the version so people can use it in game from the in game mod manager.