Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

mesa-dot-dev/sdk-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo has been archived and is now kept closed source.

mesa-dev

mesa-dev

Rust SDK for the mesa.dev API.

crates.io docs.rs License CI Discord


Install

cargo add mesa-dev

Quick Start

use mesa_dev::apis::configuration::Configuration;
use mesa_dev::apis::repos_api;

let config = Configuration {
    bearer_access_token: Some("your-token".to_string()),
    ..Configuration::default()
};

let repos = repos_api::get_by_org_repos(&config, "my-org", None, None).await?;

Documentation

Full API reference is available on docs.rs.

Authentication

The SDK supports three authentication methods via the Configuration struct:

Bearer token (most common):

let config = Configuration {
    bearer_access_token: Some("your-token".to_string()),
    ..Configuration::default()
};

Basic auth:

let config = Configuration {
    basic_auth: Some(("username".to_string(), Some("password".to_string()))),
    ..Configuration::default()
};

API key:

use mesa_dev::apis::configuration::{ApiKey, Configuration};

let config = Configuration {
    api_key: Some(ApiKey {
        prefix: Some("Bearer".to_string()),
        key: "your-api-key".to_string(),
    }),
    ..Configuration::default()
};

License

MIT

About

Mesa's Rust SDK

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors