Fix crate deps handling.