Cargo Features
[dependencies]
apb = { version = "0.2.2", default-features = false, features = ["activitypub-miscellaneous-terms", "activitypub-counters", "activitypub-fe", "ostatus", "toot", "litepub", "did-core", "jsonld", "send", "orm", "fetch", "unstructured"] }
- default = activitypub-miscellaneous-terms, send
-
These default features are set whenever
apb
is added without
somewhere in the dependency tree.default-features = false - activitypub-miscellaneous-terms default
-
extensions https://swicg.github.io/miscellany/
Affects
actor::Actor.moved_to
,actor::Actor.manually_approves_followers
,actor::ActorMut.set_moved_to
,actor::ActorMut.set_manually_approves_followers
,object::Object.sensitive
,object::Object.quote_url
,object::ObjectMut.set_sensitive
,object::ObjectMut.set_quote_url
… - activitypub-counters
-
Affects
actor::Actor.followers_count
,actor::Actor.following_count
,actor::Actor.statuses_count
,actor::ActorMut.set_followers_count
,actor::ActorMut.set_following_count
,actor::ActorMut.set_statuses_count
… - activitypub-fe
-
Affects
actor::Actor.following_me
,actor::Actor.followed_by_me
,actor::Actor.notifications
,actor::ActorMut.set_following_me
,actor::ActorMut.set_followed_by_me
,actor::ActorMut.set_notifications
,object::Object.liked_by_me
,object::ObjectMut.set_liked_by_me
… - ostatus
-
https://ostatus.org# , but it redirects and 403??? just need this for conversation
Affects
object::Object.conversation
,object::ObjectMut.set_conversation
… - toot
-
http://joinmastodon.org/ns# , mastodon is weird tho??
Affects
actor::Actor.discoverable
,actor::Actor.featured
,actor::ActorMut.set_discoverable
,actor::ActorMut.set_featured
… - litepub
-
incomplete, https://litepub.social/
- did-core
-
incomplete, may be cool to support all of this: https://www.w3.org/TR/did-core/
Affects
actor::Actor.also_known_as
,actor::ActorMut.set_also_known_as
… - jsonld
-
full jsonld utilities
- send default
-
builtin utils
Affects
macros::MaybeSend
… - orm
-
Enables sea-orm ^0.12
- fetch
-
Enables reqwest
- unstructured
-
providers
Enables serde_json
Affects
apb::new
,macros::set_maybe_node
,macros::set_maybe_value
…