Byron / google-apis-rs

A binding and CLI generator for all Google APIs
http://byron.github.io/google-apis-rs
Other
1.02k stars 136 forks source link

google_storage1::client::Storage is not Clone #295

Closed recmo closed 3 years ago

recmo commented 3 years ago

Looking at the implementation all members implement an efficient Clone. The Hyper and Authenticator will share the connection pool and token cache between clones. Storage can have a #[derive(Clone)].

Byron commented 3 years ago

Please take a look at https://crates.io/crates/google-storage1/2.0.7+20210330 which has Clone implemented.