Skip to main content

Crate atrg_repo

Crate atrg_repo 

Source
Expand description

§atrg-repo

Record repository helpers for the at-rust-go framework.

Provides ergonomic typed helpers for AT Protocol record repository operations (CRUD), blob uploads, and AT-URI/TID utilities.

§Overview

  • Repo — high-level client for com.atproto.repo.* XRPC calls
  • AtUri — parsed AT Protocol URI (at://did/collection/rkey)
  • Tid — base32-sortable timestamp identifiers for record keys
  • BlobRef / StrongRef — typed references to blobs and records
  • Page / Record — paginated listing and record wrapper types

Re-exports§

pub use at_uri::AtUri;
pub use blob::upload_blob;
pub use blob::upload_blob_from_url;
pub use error::RepoError;
pub use repo::Repo;
pub use tid::Tid;
pub use types::BlobRef;
pub use types::Page;
pub use types::Record;
pub use types::StrongRef;

Modules§

at_uri
AT Protocol URI parsing and construction.
blob
Blob upload helpers for AT Protocol PDS endpoints.
error
Error types for AT Protocol repository operations.
repo
High-level client for AT Protocol record repository operations.
tid
TID (Timestamp Identifier) generation and parsing.
types
Shared types for AT Protocol record repository operations.