Investigate moving Sync off of `google-cloud-rust` crate and on to a more modern equivalent.
The current rust crate to talk to GCP was created quite a while ago and uses a now abandoned dependency at its core. This means that no further support for this library is likely. (It’s also a significant cost to maintain and support.)
We should consider transitioning off of using google-cloud-rust in favor of a more supported, easier to use crate.
Work should include:
- Identifying candidate crates, and selecting one with the best, foreseeable future.
- Updating the
syncstorage-spannercrate to use the new library while maintaining the current level of database abstraction - Working with the Push team to identify and coordinate transition so that they’re not left holding the bag
- Archiving the
google-cloud-rustcrate so that no further work is done.
┆Issue is synchronized with this Jira Task
➤ Philip Jenvey commented:
We should migrate to the official Google Cloud SDK for Rust which was recently released: https://github.com/googleapis/google-cloud-rust ( https://github.com/googleapis/google-cloud-rust|smart-link )
However per its release announcement: (Note: Services like Compute Engine, BigQuery, Spanner, Bigtable, Pub/Sub, Firestore, and Datastore will be added in future updates)