mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-22 11:51:00 +00:00
Update Cargo.toml, readme
This commit is contained in:
parent
9a8fd738f7
commit
d13e8dc2d4
2 changed files with 4 additions and 7 deletions
|
@ -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"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue