Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/pubsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ all-features = true

[dependencies]
async-trait.workspace = true
base64.workspace = true
google-cloud-auth = { workspace = true }
Comment on lines 32 to 34

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The base64 dependency is added to Cargo.toml but is not used anywhere in the changes or the crate. We should remove it to avoid unnecessary dependency bloat and keep the build clean.

Suggested change
async-trait.workspace = true
base64.workspace = true
google-cloud-auth = { workspace = true }
async-trait.workspace = true
google-cloud-auth = { workspace = true }
References
  1. Expose Hidden Costs: Question new dependencies or patterns that add significant boilerplate for minimal gain. (link)

bytes.workspace = true
futures.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion src/pubsub/src/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mod batch;
mod client_builder;
mod constants;
mod future;
mod hedging;
mod options;
mod retry_policy;
#[allow(dead_code)]
mod token_bucket;
Loading
Loading