Update a couple invalid uses of box types

This commit is contained in:
asonix 2020-04-02 09:50:53 -05:00
parent b8e4e175cf
commit 7213c7966f
4 changed files with 14 additions and 27 deletions

View file

@ -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 <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/Aardwolf/activitystreams"

View file

@ -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 |

View file

@ -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,
},

View file

@ -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 |