diff --git a/Cargo.toml b/Cargo.toml index e51ef59..ef047b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "activitystreams" description = "Activity Streams in Rust" -version = "0.5.0-alpha.12" +version = "0.5.0-alpha.13" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/activitystreams" diff --git a/README.md b/README.md index 440f6fe..1c33826 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ __A set of Traits and Types that make up the ActivityStreams and ActivityPub spe First, add ActivityStreams to your dependencies ```toml -activitystreams = "0.5.0-alpha.12" +activitystreams = "0.5.0-alpha.13" ``` ### Types @@ -177,7 +177,7 @@ There are a number of features that can be disabled in this crate. By default, e enabled. ```toml -activitystreams = { version = "0.5.0-alpha.12", default-features = "false", features = ["derive"] } +activitystreams = { version = "0.5.0-alpha.13", default-features = "false", features = ["derive"] } ``` | feature | what you get | diff --git a/src/collection/properties.rs b/src/collection/properties.rs index 8fb2acf..e103e12 100644 --- a/src/collection/properties.rs +++ b/src/collection/properties.rs @@ -25,7 +25,7 @@ //! use activitystreams::{ //! collection::{ //! properties::CollectionProperties, -//! Collection, CollectionBox, +//! Collection, //! }, //! ext::Ext, //! object::{ @@ -67,13 +67,7 @@ //! # fn main() {} //! ``` -use crate::{ - collection::{CollectionBox, CollectionPageBox}, - link::LinkBox, - object::ObjectBox, - primitives::*, - properties, -}; +use crate::{primitives::*, properties, BaseBox}; properties! { Collection { @@ -96,8 +90,7 @@ properties! { ], types [ XsdString, - ObjectBox, - LinkBox, + BaseBox, ], required, }, @@ -129,8 +122,7 @@ properties! { ], types [ XsdAnyUri, - LinkBox, - CollectionPageBox, + BaseBox, ], functional, }, @@ -144,8 +136,7 @@ properties! { ], types [ XsdAnyUri, - LinkBox, - CollectionPageBox, + BaseBox, ], functional, }, @@ -159,8 +150,7 @@ properties! { ], types [ XsdAnyUri, - LinkBox, - CollectionPageBox, + BaseBox, ], }, } @@ -182,8 +172,7 @@ properties! { ], types [ XsdAnyUri, - LinkBox, - CollectionBox, + BaseBox, ], functional, }, @@ -197,8 +186,7 @@ properties! { ], types [ XsdAnyUri, - LinkBox, - CollectionPageBox, + BaseBox, ], functional, }, @@ -212,8 +200,7 @@ properties! { ], types [ XsdAnyUri, - LinkBox, - CollectionPageBox, + BaseBox, ], functional, }, diff --git a/src/lib.rs b/src/lib.rs index 137fc31..14c2cbc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ //! //! First, add ActivityStreams to your dependencies //! ```toml -//! activitystreams = "0.5.0-alpha.12" +//! activitystreams = "0.5.0-alpha.13" //! ``` //! //! ### Types @@ -209,7 +209,7 @@ //! enabled. //! //! ```toml -//! activitystreams = { version = "0.5.0-alpha.12", default-features = "false", features = ["derive"] } +//! activitystreams = { version = "0.5.0-alpha.13", default-features = "false", features = ["derive"] } //! ``` //! //! | feature | what you get |