Update Cargo.toml, readme

This commit is contained in:
asonix 2020-03-11 11:21:58 -05:00
parent 9a8fd738f7
commit d13e8dc2d4
2 changed files with 4 additions and 7 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "activitystreams"
description = "Activity Streams in Rust"
version = "0.4.0-alpha.1"
version = "0.4.0-alpha.2"
license = "GPL-3.0"
authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/Aardwolf/activitystreams"

View file

@ -12,12 +12,12 @@ For basic use, add the following to your Cargo.toml
```toml
# Cargo.toml
activitystreams = "0.4.0-alpha.0"
activitystreams = "0.4.0-alpha.2"
```
And then use it in your project
```rust
use activitystreams::object::Video;
use activitystreams::object::streams::Video;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut v = Video::default();
@ -125,10 +125,7 @@ And then in your project
```rust
use activitystreams::{
context,
link::{
properties::LinkProperties,
LinkExt,
},
link::properties::LinkProperties,
Link,
Object,
PropRefs,