activitystreams-new/src/lib.rs

32 lines
824 B
Rust
Raw Normal View History

2020-05-14 03:54:50 +00:00
pub mod activity;
pub mod actor;
2020-05-15 22:01:29 +00:00
pub mod base;
2020-05-14 03:54:50 +00:00
pub mod collection;
pub mod either;
2020-05-15 22:01:29 +00:00
pub mod link;
2020-05-14 03:54:50 +00:00
pub mod object;
pub mod primitives;
2020-05-15 22:01:29 +00:00
pub mod unparsed;
2020-05-14 03:54:50 +00:00
pub use activitystreams::{context, public, security};
2020-05-15 03:18:34 +00:00
2020-05-15 22:01:29 +00:00
pub mod markers {
pub use activitystreams::{
Activity, Actor, Base, Collection, CollectionPage, IntransitiveActivity, Link, Object,
};
}
2020-05-15 03:18:34 +00:00
pub mod prelude {
pub use crate::{
activity::{
2020-05-15 22:01:29 +00:00
ActivityExt, ActorAndObjectRefExt, OptOriginRefExt, OptTargetRefExt, OriginRefExt,
QuestionExt, TargetRefExt,
2020-05-15 03:18:34 +00:00
},
2020-05-15 22:01:29 +00:00
actor::ApActorExt,
base::BaseExt,
collection::{CollectionExt, CollectionPageExt, OrderedCollectionPageExt},
link::LinkExt,
object::{ApObjectExt, ObjectExt, PlaceExt, ProfileExt, RelationshipExt, TombstoneExt},
2020-05-15 03:18:34 +00:00
};
}