I have relay that requires 20mA to operate, which is a bit more than the pi can give from one pin. I as wondering if t was safe to connect 2 GPIO pins together to power the relay. I would use a diode on each pin so I don't short anything out, but do I need to do anything else to protect it or should I just get a transistor?
EDIT-
I am using trying to use a JZC-11F relay.