Browse Source

Update branch, docs link

main
asonix 1 year ago
parent
commit
d5090fc1bb
  1. 4
      README.md
  2. 7
      src/lib.rs

4
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

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

Loading…
Cancel
Save