Casting two cantrips on the same turn?

I was wondering if there’s a rule against casting 2 cantrips on the same turn, one as an action and another one as a bonus action, to be more specific I’m playing a grave domain cleric and I was wondering if I can use let’s say Toll the Dead (as an action) and Spare the Dying to stabilize a party member (as a bonus action) due to the "Circle of Mortality" feature that allows me to use that one cantrip as a bonus action.