Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump gcp_auth to 0.12.2 #76

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Jul 1, 2024

gcp_auth changed their AuthenticationManager API in djc/gcp_auth#108.

gcp_auth::provider() now returns a Arc,
rather than a AuthenticationManager, and AuthenticationManager is gone.

This updates references in bigtable_rs codebase to follow.

Closes #75.

flokli added 2 commits July 1, 2024 10:55
The version of protoc used in v1 doesn't seem to exist anymore, as can
be seen by a failing CI run:

https://github.com/liufuyang/bigtable_rs/actions/runs/9357260352/job/25756593924

```
Run arduino/setup-protoc@v1
Getting protoc version: v3.20.3
Downloading archive: https://github.com/protocolbuffers/protobuf/releases/download/v3.20.3/protoc-3.20.3-osx-aarch_64.zip
Error: Error: Failed to download version v3.20.3: Error, Unexpected HTTP response: 404 - 404
```
gcp_auth changed their AuthenticationManager API
in djc/gcp_auth#108.

gcp_auth::provider() now returns a Arc<dyn TokenProvider>,
rather than a AuthenticationManager, and AuthenticationManager is gone.

This updates references in bigtable_rs codebase to follow.

Closes liufuyang#75.
project_id: &str,
instance_name: &str,
is_read_only: bool,
channel_size: usize,
timeout: Option<Duration>,
authentication_manager: AuthenticationManager,
token_provider: Arc<dyn TokenProvider>,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could also become a bit more generic here, so we don't need to Arc::new on the call site, but i leave it up to you to decide.

@liufuyang
Copy link
Owner

Thanks, this looks good to me :)

@liufuyang liufuyang merged commit 5c5107a into liufuyang:main Jul 1, 2024
2 checks passed
@flokli flokli deleted the gcp-auth-bump branch July 1, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants