Ctr of stud wants to be something like 1.25 to 1.5 D in from the edge. But make sure any nuts don't hang over the edge, I assume you will be using small hex not standard.
A small edge thickness is more risky with iron than with a fabricated part as steel or brass is less likely to fracture at...