7 releases
0.1.8 | Feb 5, 2020 |
---|---|
0.1.7 | Feb 2, 2020 |
0.1.6 | Jan 28, 2020 |
#1162 in Asynchronous
21 downloads per month
26KB
499 lines
This is an in-progress implementation of activitypub types.
It is still in the experimental phase and there will be breaking changes every update.
The rustpub::simple
module contains a simplified activitypub type implementation.
It has Object and Link types that have all of the properties of the base and child types combined into one type.
The rustpub::complex
module contains separate types for each activitypub type and uses traits to connect them.
The rustpub::complex
module is not yet usable.
Activitypub Types Implementation
Properties
- actor
- attachment
- attributedTo
- audience
- bcc
- bto
- cc
- context
- current
- first
- generator
- icon
- id
- image
- inReplyTo
- instrument
- last
- location
- items
- oneOf
- anyOf
- closed
- origin
- next
- object
- prev
- preview
- result
- replies
- tag
- target
- to
- type
- url
- accuracy
- altitude
- content
- name
- duration
- height
- href
- hreflang
- partOf
- latitude
- longitude
- mediaType
- endTime
- published
- startTime
- radius
- rel
- startIndex
- summary
- totalItems
- units
- updated
- width
- subject
- relationship
- describes
- formerType
- deleted
Extented Properties
- PublicKey
- PublicKeyPem
- PreferredUsername
- Inbox
- Outbox
- Followers
- Following
Dependencies
~5MB
~95K SLoC