diff --git a/Cargo.toml b/Cargo.toml index feaf76b..c472aeb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "activitystreams" description = "Activity Streams in Rust" -version = "0.5.0-alpha.6" +version = "0.5.0-alpha.7" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/activitystreams" diff --git a/README.md b/README.md index 99fd71a..813112e 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.6" +activitystreams = "0.5.0-alpha.7" ``` ### 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.6", default-features = "false", features = ["derive"] } +activitystreams = { version = "0.5.0-alpha.7", default-features = "false", features = ["derive"] } ``` | feature | what you get | diff --git a/src/actor/properties.rs b/src/actor/properties.rs index 6150da3..b020039 100644 --- a/src/actor/properties.rs +++ b/src/actor/properties.rs @@ -62,7 +62,11 @@ //! # fn main() {} //! ``` -use crate::{endpoint::EndpointProperties, primitives::XsdAnyUri, properties}; +use crate::{ + endpoint::EndpointProperties, + primitives::{XsdAnyUri, XsdString}, + properties, +}; properties! { ApActor { @@ -75,7 +79,7 @@ properties! { "A reference to an [[ActivityStreams](https://www.w3.org/ns/activitystreams)]", "OrderedCollection comprised of all the messages received by the actor.", "", - "- Range: `anyUri`", + "- Range: `xsd:anyUri`", "- Functional: true", ], types [ XsdAnyUri ], @@ -88,7 +92,7 @@ properties! { "An [ActivityStreams](https://www.w3.org/ns/activitystreams)] OrderedCollection comprised of", "all the messages produced by the actor.", "", - "- Range: `anyUri`", + "- Range: `xsd:anyUri`", "- Functional: true", ], types [ XsdAnyUri ], @@ -101,7 +105,7 @@ properties! { "A link to an [[ActivityStreams](https://www.w3.org/ns/activitystreams)] collection of the", "actors that this actor is following.", "", - "- Range: `anyUri`", + "- Range: `xsd:anyUri`", "- Functional: true", ], types [ XsdAnyUri ], @@ -113,7 +117,7 @@ properties! { "A link to an [[ActivityStreams](https://www.w3.org/ns/activitystreams)] collection of the", "actors that follow this actor.", "", - "- Range: `anyUri`", + "- Range: `xsd:anyUri`", "- Functional: true", ], types [ XsdAnyUri ], @@ -125,7 +129,7 @@ properties! { "A link to an [[ActivityStreams](https://www.w3.org/ns/activitystreams)] collection of", "objects this actor has liked.", "", - "- Range: `anyUri`", + "- Range: `xsd:anyUri`", "- Functional: true", ], types [ XsdAnyUri ], @@ -136,7 +140,7 @@ properties! { docs [ "A list of supplementary Collections which may be of interest.", "", - "- Range: `anyUri`", + "- Range: `xsd:anyUri`", "- Functional: false", ], types [ XsdAnyUri ], @@ -146,10 +150,10 @@ properties! { docs [ "A short username which may be used to refer to the actor, with no uniqueness guarantees.", "", - "- Range: `anyUri`", + "- Range: `xsd:string`", "- Functional: true", ], - types [ XsdAnyUri ], + types [ XsdString ], functional, }, diff --git a/src/lib.rs b/src/lib.rs index 32cfa7d..0fec9cb 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.6" +//! activitystreams = "0.5.0-alpha.7" //! ``` //! //! ### Types @@ -193,7 +193,7 @@ //! enabled. //! //! ```toml -//! activitystreams = { version = "0.5.0-alpha.6", default-features = "false", features = ["derive"] } +//! activitystreams = { version = "0.5.0-alpha.7", default-features = "false", features = ["derive"] } //! ``` //! //! | feature | what you get |