A Rust RPC Client for Cloud Spanner based on Google's Python RPC Client for Cloud Spanner
This crate provides a number of core abstractions to work with the RPC Cloud Spanner API.
To authenticate this application this client uses Google's Application Default Credentials to find your application's credentials.
This crate is on crates.io and can be
used by adding
rustyspanner to your dependencies in your project's
[dependencies] rustyspanner = "0.1.0"
and this to your crate root:
extern crate rustyspanner;
The main abstraction is struct
Client used manage connect to Instance
Admin API & Database Admin API.
use rustyspanner::client::Client; let id = String::from("project_id"); let client = Client::new(id);