Add base docs

This commit is contained in:
asonix 2020-03-18 18:56:24 -05:00
parent 67cd3b8a8c
commit a7263164d8
3 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
[package] [package]
name = "activitystreams" name = "activitystreams"
description = "Activity Streams in Rust" description = "Activity Streams in Rust"
version = "0.5.0-alpha.9" version = "0.5.0-alpha.10"
license = "GPL-3.0" license = "GPL-3.0"
authors = ["asonix <asonix@asonix.dog>"] authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/Aardwolf/activitystreams" 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 First, add ActivityStreams to your dependencies
```toml ```toml
activitystreams = "0.5.0-alpha.9" activitystreams = "0.5.0-alpha.10"
``` ```
### Types ### Types
@ -177,7 +177,7 @@ There are a number of features that can be disabled in this crate. By default, e
enabled. enabled.
```toml ```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 | | feature | what you get |

View file

@ -25,7 +25,7 @@
//! //!
//! First, add ActivityStreams to your dependencies //! First, add ActivityStreams to your dependencies
//! ```toml //! ```toml
//! activitystreams = "0.5.0-alpha.9" //! activitystreams = "0.5.0-alpha.10"
//! ``` //! ```
//! //!
//! ### Types //! ### Types
@ -209,7 +209,7 @@
//! enabled. //! enabled.
//! //!
//! ```toml //! ```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 | //! | feature | what you get |
@ -416,6 +416,9 @@ pub use self::{
}; };
#[cfg_attr(feature = "types", wrapper_type)] #[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 {} pub trait Base: std::fmt::Debug {}
#[cfg(feature = "primitives")] #[cfg(feature = "primitives")]