From a7263164d8b437efeab9459a4016628a4ad030ee Mon Sep 17 00:00:00 2001 From: asonix Date: Wed, 18 Mar 2020 18:56:24 -0500 Subject: [PATCH] Add base docs --- Cargo.toml | 2 +- README.md | 4 ++-- src/lib.rs | 7 +++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index feb76b1..4ca27f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "activitystreams" description = "Activity Streams in Rust" -version = "0.5.0-alpha.9" +version = "0.5.0-alpha.10" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/activitystreams" diff --git a/README.md b/README.md index bdbbaf2..7f2ded2 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.9" +activitystreams = "0.5.0-alpha.10" ``` ### 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.9", default-features = "false", features = ["derive"] } +activitystreams = { version = "0.5.0-alpha.10", default-features = "false", features = ["derive"] } ``` | feature | what you get | diff --git a/src/lib.rs b/src/lib.rs index 8c67052..498cbd6 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.9" +//! activitystreams = "0.5.0-alpha.10" //! ``` //! //! ### Types @@ -209,7 +209,7 @@ //! enabled. //! //! ```toml -//! activitystreams = { version = "0.5.0-alpha.9", default-features = "false", features = ["derive"] } +//! activitystreams = { version = "0.5.0-alpha.10", default-features = "false", features = ["derive"] } //! ``` //! //! | feature | what you get | @@ -416,6 +416,9 @@ pub use self::{ }; #[cfg_attr(feature = "types", wrapper_type)] +/// The lowermost trait of the trait structure +/// +/// Base exists solely so Object and Link can have impls that don't potentially conflict pub trait Base: std::fmt::Debug {} #[cfg(feature = "primitives")]