In the era of the Tokugawa shoguns , the canals were used to carry rice and grain in barges for onward shipment to the great markets of Osaka and Edo .
All of Osaka 's rice was delivered exclusively by horse and cart during the Tokugawa era .