diff --git a/README.md b/README.md index 3a9b6b4..c1b9c8e 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ _This crate provides Ext1, Ext2, Ext3, and Ext4 for adding extensions to Activit First, add ActivityStreams to your dependencies ```toml [dependencies] -activitystreams-new = { git = "https://git.asonix.dog/asonix/activitystreams-sketch" } -activitystreams-ext = { git = "https://git.asonix.dog/asonix/activitystreams-ext" } +activitystreams-new = { git = "https://git.asonix.dog/asonix/activitystreams-sketch", branch = "main" } +activitystreams-ext = { git = "https://git.asonix.dog/asonix/activitystreams-ext", branch = "main" } ``` For an example, we'll implement a PublicKey extension and demonstrate usage with Ext1 diff --git a/src/lib.rs b/src/lib.rs index f53b45f..2842894 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,8 +11,8 @@ //! First, add ActivityStreams to your dependencies //! ```toml //! [dependencies] -//! activitystreams-new = { git = "https://git.asonix.dog/asonix/activitystreams-sketch" } -//! activitystreams-ext = { git = "https://git.asonix.dog/asonix/activitystreams-ext" } +//! activitystreams-new = { git = "https://git.asonix.dog/asonix/activitystreams-sketch", branch = "main" } +//! activitystreams-ext = { git = "https://git.asonix.dog/asonix/activitystreams-ext", branch = "main" } //! ``` //! //! For an example, we'll implement a PublicKey extension and demonstrate usage with Ext1 @@ -89,6 +89,9 @@ //! Ok(()) //! } //! ``` + +#![doc(html_root_url = "https://activitystreams-ext.asonix.dog/activitystreams_ext/")] + use activitystreams_new::{ base::{Base, Extends}, unparsed::{UnparsedMut, UnparsedMutExt},