Compare commits

..

No commits in common. "f115ab67b8d15bd9e23b9d235a9135157d415ad6" and "b9b49df009109a2a0643541aa997cc07ae5f9efc" have entirely different histories.

2 changed files with 1 additions and 15 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "apb"
version = "0.2.2"
version = "0.2.1"
edition = "2021"
authors = [ "alemi <me@alemi.dev>" ]
description = "Traits and types to handle ActivityPub objects"
@ -32,7 +32,6 @@ activitypub-fe = [] # https://ns.alemi.dev/as/fe/#
ostatus = [] # https://ostatus.org# , but it redirects and 403??? just need this for conversation
toot = [] # http://joinmastodon.org/ns# , mastodon is weird tho??
litepub = [] # incomplete, https://litepub.social/
did-core = [] # incomplete, may be cool to support all of this: https://www.w3.org/TR/did-core/
# full jsonld utilities
jsonld = []
# builtin utils

View file

@ -39,9 +39,6 @@ pub trait Actor : Object {
#[cfg(feature = "activitypub-miscellaneous-terms")]
fn manually_approves_followers(&self) -> Field<bool> { Err(FieldErr("manuallyApprovesFollowers")) }
#[cfg(feature = "did-core")]
fn also_known_as(&self) -> Node<Self::Actor> { Node::Empty }
#[cfg(feature = "activitypub-fe")]
fn following_me(&self) -> Field<bool> { Err(FieldErr("followingMe")) }
#[cfg(feature = "activitypub-fe")]
@ -97,9 +94,6 @@ pub trait ActorMut : ObjectMut {
#[cfg(feature = "activitypub-miscellaneous-terms")]
fn set_manually_approves_followers(self, val: Option<bool>) -> Self;
#[cfg(feature = "did-core")]
fn set_also_known_as(self, val: Node<Self::Actor>) -> Self;
#[cfg(feature = "activitypub-fe")]
fn set_following_me(self, val: Option<bool>) -> Self;
#[cfg(feature = "activitypub-fe")]
@ -156,9 +150,6 @@ impl Actor for serde_json::Value {
#[cfg(feature = "activitypub-miscellaneous-terms")]
crate::getter! { manuallyApprovesFollowers -> bool }
#[cfg(feature = "did-core")]
crate::getter! { alsoKnownAs -> node Self::Actor }
#[cfg(feature = "activitypub-fe")]
crate::getter! { followingMe -> bool }
#[cfg(feature = "activitypub-fe")]
@ -210,10 +201,6 @@ impl ActorMut for serde_json::Value {
#[cfg(feature = "activitypub-miscellaneous-terms")]
crate::setter! { manuallyApprovesFollowers -> bool }
#[cfg(feature = "did-core")]
crate::setter! { alsoKnownAs -> node Self::Actor }
#[cfg(feature = "activitypub-fe")]
crate::setter! { followingMe -> bool }
#[cfg(feature = "activitypub-fe")]