22 releases (9 stable)

Uses new Rust 2024

new 1.8.0 Apr 14, 2026
1.7.0 Mar 27, 2026
1.5.0 Feb 13, 2026
1.2.0 Dec 10, 2025
0.1.0 Feb 18, 2025

#2959 in Network programming

Apache-2.0

2MB
39K SLoC

Google Cloud Client Libraries for Rust - Cloud Trace API

Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenTelemetry.

The client library types and functions are stable and not expected to change. Please note that Google Cloud services do change from time to time. The client libraries are designed to preserve backwards compatibility when the service changes in compatible ways. For example, adding RPCs, or fields to messages should not introduce breaking changes to the client libraries.

Quickstart

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

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().

More Information

Dependencies

~16–42MB
~659K SLoC