Skip to main content

ojak/
lib.rs

1//! Ojak: an ActivityPub application framework.
2//!
3//! The application owns its data, and Ojak does the protocol around it; see
4//! *docs/guide/concepts.md*. It has the guarded HTTP client every
5//! outgoing request goes through ([`client`]), signatures and proofs
6//! ([`sig`]), delivery of activities through a queue the application
7//! provides ([`deliverer`]), fetching documents from other servers
8//! ([`fetch`]), the JSON-LD contexts a Linked Data Signature is checked
9//! over when ojak does not ship them ([`contexts`]), the key-value store
10//! Ojak keeps its caches in ([`kv`]),
11//! serving actors, objects, collections, WebFinger and NodeInfo and
12//! receiving activities ([`federation`]), portable objects (FEP-ef61) at
13//! gateways ([`portable`]), and finding an actor by its handle
14//! ([`webfinger`]).
15
16extern crate alloc;
17
18pub mod client;
19pub mod contexts;
20pub mod deliverer;
21pub mod federation;
22pub mod fetch;
23pub mod kv;
24pub mod origin;
25pub mod portable;
26pub mod queue;
27pub mod synchronization;
28pub use ojak_sig as sig;
29pub mod template;
30#[cfg(feature = "testing")]
31pub mod testing;
32pub mod webfinger;