Expand description
Core Proton account/session/crypto primitives for the Rust Proton SDK.
Pure-Rust reimplementation of the foundational Proton.Sdk layer of the
official Proton Drive SDK. This
crate has no dependency on the native NativeAOT core; it talks to the Proton
API directly.
Scope (matching the official SDK): Drive business-logic foundations only.
Login/SRP is provided behind session::ProtonApiSession::begin but read
workflows can be driven entirely through
session::ProtonApiSession::resume with pre-obtained tokens.
Re-exports§
pub use error::ProtonApiError;pub use error::ProtonError;pub use error::Result;pub use session::ProtonApiSession;
Modules§
- account
- Account client: user, addresses and their decrypted private keys.
- api
- API response envelope and response codes shared across all Proton endpoints.
- cache
- Generic persistent-cache primitives.
- config
- Client configuration and defaults.
- crypto
- PGP cryptography primitives backed by rPGP.
- error
- Error types for the core SDK.
- http
- HTTP plumbing: header injection, the Proton response envelope, bearer-token authentication and transparent 401 refresh.
- ids
- Strongly-typed string identifiers used across the SDK.
- session
- Authenticated API session.
- telemetry
- Pluggable telemetry / structured-observability hooks.