Proton Drive Rust SDK

A Rust crate for interacting with the Proton Drive API — authentication, file operations, and cryptographic primitives.

Status

In active development on the feature/linux-client branch.

API Surface

graph TB
    SDK[Drive SDK Crate]
    
    subgraph "Core Modules"
        AUTH[auth
Authentication] API[api
HTTP Client] DRIVE[drive
File Operations] CRYPTO[crypto
Encryption] EVENTS[events
Event Stream] end SDK --> AUTH SDK --> API SDK --> DRIVE SDK --> CRYPTO SDK --> EVENTS API --> PROTON[Proton Drive API]

Key Capabilities

  • Authentication — SRP login, session management, token refresh
  • File Operations — Upload, download, list, move, delete
  • Encryption — File and metadata encryption using Proton’s cryptographic model
  • Event Streaming — Real-time change events for sync

Repository

Part of the protondrive-linux monorepo at sdk/. Built as a standalone Rust crate for reuse across Proton Drive Linux tools.

Documentation

Full API reference and usage examples are in development. The SDK is designed to be the canonical Rust interface for Proton Drive.

ProtonDrive Linux — not affiliated with Proton AG. GitHub