Certain crimes are so destructive to the fabric of a nation, to serve as a true deterrent a public execution should be mandated without exception.
Examples of those crimes would be election fraud, voter fraud, violation of your oath of office, treason, bribery, official corruption, abuse of power, crimes of a sexual nature against children, foreign nationals that commit crimes against American citizens on American soil, and mass shooters/terrorists.
While I am not actually an advocate for the death penalty in its current form, I believe people who engage in these crimes should be made the ultimate example of and truly serve as a deterrent. They should be hung without a drop at dawn in public and taken down at dusk, cremated and their ashes disposed of without ceremony or acknowledgement of any kind.