#Recycling via Teleportation
The ship's medical computer continuously scans the pressure on every cast crew member's bladder and rectum.
As soon as the pressure reaches a set level, the contents are immediately (and almost painlessly) teleported directly to the food replicators.
Quite neatly killing two birds with one turd stone.