1-wire library is more flexible. Now few pins can be used for 1-Wire devices.