50 releases (1 stable)

Uses new Rust 2024

1.0.0 May 6, 2026
0.33.2 Apr 14, 2026
0.33.1 Mar 27, 2026
0.32.0-preview Dec 10, 2025
0.1.2 Mar 19, 2022

#591 in Network programming

Download history 41838/week @ 2026-01-23 49075/week @ 2026-01-30 80740/week @ 2026-02-06 78854/week @ 2026-02-13 105168/week @ 2026-02-20 115947/week @ 2026-02-27 154936/week @ 2026-03-06 141198/week @ 2026-03-13 86465/week @ 2026-03-20 77171/week @ 2026-03-27 100409/week @ 2026-04-03 95243/week @ 2026-04-10 87055/week @ 2026-04-17 84714/week @ 2026-04-24 66760/week @ 2026-05-01 58792/week @ 2026-05-08

313,339 downloads per month
Used in 23 crates (20 directly)

Apache-2.0

5MB
94K SLoC

Google Cloud Client Libraries for Rust - Pub/Sub

This crate contains traits, types, and functions to interact with Pub/Sub. Most applications will use the structs defined in the client module.

Receiving messages is not yet supported by this crate.

This crate used to contain a different implementation, with a different surface. @yoshidan generously donated the crate name to Google. Their crate continues to live as gcloud-pubsub.

Features

  • default-rustls-provider: enabled by default. Use the default rustls crypto provider (aws-lc-rs) for TLS and authentication. Applications with specific requirements for cryptography (such as exclusively using the ring crate) should disable this default and call rustls::crypto::CryptoProvider::install_default().
  • unstable-stream: enable the (unstable) features to convert several types to a future::Stream.

Dependencies

~32–59MB
~1M SLoC