Skip to main content

atrg_repo/
lib.rs

1#![deny(unsafe_code)]
2#![warn(missing_docs)]
3
4//! # atrg-repo
5//!
6//! Record repository helpers for the at-rust-go framework.
7//!
8//! Provides ergonomic typed helpers for AT Protocol record repository
9//! operations (CRUD), blob uploads, and AT-URI/TID utilities.
10//!
11//! # Overview
12//!
13//! - [`Repo`] — high-level client for `com.atproto.repo.*` XRPC calls
14//! - [`AtUri`] — parsed AT Protocol URI (`at://did/collection/rkey`)
15//! - [`Tid`] — base32-sortable timestamp identifiers for record keys
16//! - [`BlobRef`] / [`StrongRef`] — typed references to blobs and records
17//! - [`Page`] / [`Record`] — paginated listing and record wrapper types
18
19pub mod at_uri;
20pub mod blob;
21pub mod error;
22pub mod repo;
23pub mod tid;
24pub mod types;
25
26pub use at_uri::AtUri;
27pub use blob::{upload_blob, upload_blob_from_url};
28pub use error::RepoError;
29pub use repo::Repo;
30pub use tid::Tid;
31pub use types::{BlobLink, BlobRef, Page, Record, StrongRef};