Refresh periodically the crates.io index
Summary:
There is no cargo command to update the crates.io index, but it automatically triggers
when there is any Cargo operation interacting with the registry.
Implement as a poor man solution the method suggested by Juan Campa.
References:
- https://github.com/rust-lang/cargo/issues/3377
- https://stackoverflow.com/questions/63748045/how-to-update-crate-registry-index-using-cargo
Test Plan: Deployed on WindRiver
Reviewers: dereckson
Reviewed By: dereckson
Differential Revision: https://devcentral.nasqueron.org/D4156