#google-cloud-platform #long-running #google-cloud #gcp

bin+lib google-cloud-longrunning

Google Cloud Client Libraries for Rust - Long Running Operations API

34 releases (22 breaking)

Uses new Rust 2024

new 0.23.0 Apr 16, 2025
0.22.0 Feb 18, 2025
0.21.0 Nov 26, 2024
0.20.0 Jul 12, 2024
0.1.0 Nov 28, 2021

#1315 in Network programming

Download history 545/week @ 2024-12-28 911/week @ 2025-01-04 967/week @ 2025-01-11 1081/week @ 2025-01-18 944/week @ 2025-01-25 1079/week @ 2025-02-01 1048/week @ 2025-02-08 1009/week @ 2025-02-15 1063/week @ 2025-02-22 1369/week @ 2025-03-01 1307/week @ 2025-03-08 8713/week @ 2025-03-15 14815/week @ 2025-03-22 12751/week @ 2025-03-29 5779/week @ 2025-04-05 4643/week @ 2025-04-12

40,928 downloads per month
Used in 118 crates (113 directly)

Apache-2.0

720KB
12K SLoC

Google Cloud Client Libraries for Rust - Long Running Operations API

WARNING: this crate is under active development. We expect multiple breaking changes in the upcoming releases. Testing is also incomplete, we do not recommend that you use this crate in production. We welcome feedback about the APIs, documentation, missing features, bugs, etc.

Defines types and an abstract service to handle long-running operations.

Long-running operations are a common pattern to handle methods that may take a significant amount of time to execute. Many Google APIs return an Operation message (defined in this crate) that are roughly analogous to a future. The operation will eventually complete, though it may still return an error on completion. The client libraries provide helpers to simplify polling of these operations.

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-longrunning.

Quickstart

The main types to work with this crate are the clients:

More Information

Dependencies

~19–31MB
~558K SLoC