Commit graph

59 commits

Author SHA1 Message Date
6c3aead68b
feat: handle announces 2024-04-20 04:33:23 +02:00
85375ba1fb
fix(apb): added Service actor type
forgot about bots! :(
2024-04-13 22:20:29 +02:00
96462648ce
fix(apb): dyn link is Sync and Send 2024-04-13 22:08:26 +02:00
87d802fa2e
fix(apb): .id() now works on json strings too 2024-04-13 06:34:56 +02:00
a9229adec8
feat(apb): restructured, added target and server
target is about addressing, and server has traits for barebones outbox
and inbox. these come from upub
2024-04-11 00:27:17 +02:00
9d3376a1f4
docs: document crate a little 2024-04-06 19:16:15 +02:00
b57d766b78
fix: dont publicly export macros 2024-04-06 18:34:15 +02:00
101de0cc08
fix(apb): proper feature gating, dict->unstructured 2024-04-06 18:04:14 +02:00
520c8eff3a
feat: separated apb types into crate, reworked
no more "impl ..." hell, each trait has associated types so that we know
it's a "Self::Link" or a "Self::Actor", but in practice they can both be
a "serde_json::Value" and thus we can change its type. also Node::Array
is now a Vec<T> rather than Vec<Node<T>> because it makes more sense.
Node is Iterable and will yield zero (Empty|Link), one (Object) or many
(Array) Ts
2024-04-06 16:56:13 +02:00