Fix crates deps handling.