yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
249 stars 93 forks source link

Example in readme doesn't work. #82

Closed ehiggs closed 1 year ago

ehiggs commented 1 year ago

Using:

[dependencies]
google-cloud-storage = "0.6.1"
tokio = { version = "1.23.0", features=["rt-multi-thread"]}

We get:

error[E0432]: unresolved import `google_cloud_storage::client::http`
yoshidan commented 1 year ago

The description in the readme is wrong, so I will correct it.

Error

use google_cloud_storage::client::http:Error

Correction

use google_cloud_storage::http::Error;

https://docs.rs/google-cloud-storage/0.6.1/google_cloud_storage/