leash-sdk (Rust)
Rust SDK for Leash-hosted integrations.
Use it to call provider actions through the Leash platform proxy instead of handling provider OAuth and token storage yourself.
Installation
[]
= "0.2"
= { = "1", = ["full"] }
Quick Start
use LeashIntegrations;
async
Default Platform URL
https://leash.build
Features
- Gmail
- Google Calendar
- Google Drive
- connection status lookup
- connect URL generation
- generic provider calls
- custom integration calls
- app env fetch and caching
- MCP execution through the platform
Notes
- pass a valid Leash platform JWT as the auth token
- use
with_api_key(...)for app-scoped access when needed - provider OAuth remains a platform concern, not an SDK concern
License
Apache-2.0