apb

Crates.ioapb
lib.rsapb
version0.3.1
sourcesrc
created_at2024-04-06 16:24:40.934076
updated_at2024-12-07 00:47:17.975693
descriptionTraits and types to handle ActivityPub objects
homepage
repositoryhttps://moonlit.technology/alemi/upub
max_upload_size
id1198394
size79,051
alemi.dev (alemidev)

documentation

README

apb

traits and types for implementing ActivityPub

apb implements all ActivityStreams types as traits, so that implementing structs don't need to hold all possible fields, but only implement getters for relevant ones

apb also provides a Node<T> enum, which can represent ActivityPub nodes (empty, link, object, array)

read more in this crate's docs

why

upub uses these types to implement its federation, but I wanted to modularize apb types

state

this crate is still work in progress and favors upub's needs, get in touch if you'd like to help or tune apb to your project!

Commit count: 0

cargo fmt