GitHub Social Rust Client

Official Rust SDK for interacting with the GitHub Social API using async/await and modern Rust patterns.

API Reference

Key Features

The Rust client brings GitHub Social capabilities to your projects with:

Async Support

Leverage Rust's async/await for non-blocking API calls and high performance.

Type Safety

Strongly-typed wrappers ensure correctness and reduce runtime errors.

Getting Started

Adding the client to your project

curl https://crates.io/github-social/1.0.0
                    
Example Usage
use github_social::*;
async fn main() {
    let client = SocialClient::new(&"YOUR_TOKEN".to_string());

    let user = client.users().get("octocat");
    let orgs = client.orgs().list_for_user("octocat");

    tokio::spawn(async move {
        let resp = orgs.await.unwrap();
        // Process organization data
    });

    let profile = user.await.unwrap();
    println!("{profile:?}");
}
                    

What's Included

The Rust client provides typed access to all major GitHub Social APIs

User Activity

Get and post user activity streams with pagination

Organization

Manage organization memberships and team access

Notifications

Subscribe to real-time notifications and updates

```