updated to work with DSTify Hash commit in rust

Added changes to work with DSTify Hash commit 1384a43db3a8b1551bfc3c6feb37e2174d4c2ba0 in rust master.