asanaclient
A Rust SDK for the Asana API.
Features
- Tasks - CRUD operations, subtasks, dependencies, followers, comments, tags, and recursive fetching across projects/portfolios
- Projects - List, search, retrieve projects with sections and task listings
- Portfolios - List, retrieve portfolios with recursive item expansion
- Sections - List and manage project sections
- Tags - List, create, and manage tags
- Stories - Retrieve and create comments/activity on tasks
- Status Updates - Retrieve status updates for projects and portfolios
- Templates - List and retrieve project templates
- Users - Get current user and list workspace members
- Workspaces - List and retrieve workspaces
Automatic pagination, strongly-typed responses, and custom field support are built in.
Authentication
Authentication uses a Personal Access Token (PAT) via the ASANA_TOKEN environment variable.
To obtain a PAT:
- Go to Asana Developer Console
- Create a new Personal Access Token
- Copy the token and set it as
ASANA_TOKEN
Installation
Add to your Cargo.toml:
[]
= "0.1"
Usage
use Client;
async
Development
# Run all checks (formatting, linting, build, tests)
# Run tests
# Generate coverage report
License
MIT