apb (0.2.1)
Installation
[registry]
default = "forgejo"
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = true
cargo add apb@0.2.1
About this package
Traits and types to handle ActivityPub objects
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!
Dependencies
ID | Version |
---|---|
async-trait | ^0.1 |
chrono | ^0.4 |
paste | ^1.0 |
reqwest | ^0.12 |
sea-orm | ^0.12 |
serde_json | ^1 |
thiserror | ^1 |
tracing | ^0.1 |
Keywords
activitypub
activitystreams
json
Details
Assets (1)
Versions (2)
View all
apb-0.2.1.crate
16 KiB