Expand description
Mesa’s Rust SDK
Provides both an ergonomic MesaClient and direct access to the
lower-level modules generated from the OpenAPI spec.
The low_level module contains the generated API functions and
hand-written workarounds for endpoints where the code generator
produces incorrect types.
§Quick Start
use mesa_dev::MesaClient;
use futures::TryStreamExt;
let client = MesaClient::builder().build();
// List repositories
let repos: Vec<_> = client.org("my-org").repos().list(None).try_collect().await?;
// Get file content
let content = client
.org("my-org")
.repos().at("my-repo")
.content()
.get(None, Some("README.md"), None)
.await?;Re-exports§
pub use client::MesaClient;
Modules§
- client
- Ergonomic client for the Mesa API.
- low_
level - Lower-level API access and codegen workarounds.
- models
- OpenAPI-generated request and response model types.
Traits§
- Stream
- Re-export of
futures_core::Streamfor consuming paginated results. A stream of values produced asynchronously.