0.4.0-alpha.1

This commit is contained in:
asonix 2020-03-11 10:10:10 -05:00
parent 502d77e49e
commit 1e3c40951d
3 changed files with 6 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.4.0-alpha.0" version = "0.4.0-alpha.1"
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"
@ -17,7 +17,7 @@ primitives = ["chrono", "mime", "serde", "thiserror", "url"]
types = ["derive", "kinds", "primitives", "serde"] types = ["derive", "kinds", "primitives", "serde"]
[dependencies] [dependencies]
activitystreams-derive = { version = "0.4.0-alpha.0", path = "activitystreams-derive", optional = true} activitystreams-derive = { version = "0.4.0-alpha.1", path = "activitystreams-derive", optional = true}
typetag = "0.1.4" typetag = "0.1.4"
chrono = { version = "0.4", optional = true } chrono = { version = "0.4", optional = true }
mime = { version = "0.3", optional = true } mime = { version = "0.3", optional = true }
@ -29,7 +29,6 @@ url = { version = "2.1", optional = true }
anyhow = "1.0" anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
typetag = "0.1.4"
[profile.dev.package.activitystreams-derive] [profile.dev.package.activitystreams-derive]
opt-level = 3 opt-level = 3

View file

@ -1,7 +1,7 @@
[package] [package]
name = "activitystreams-derive" name = "activitystreams-derive"
description = "Derive macros for activitystreams" description = "Derive macros for activitystreams"
version = "0.4.0-alpha.0" version = "0.4.0-alpha.1"
license = "GPL-3.0" license = "GPL-3.0"
authors = ["asonix <asonix.dev@gmail.com>"] authors = ["asonix <asonix.dev@gmail.com>"]
repository = "https://git.asonix.dog/Aardwolf/activitystreams" repository = "https://git.asonix.dog/Aardwolf/activitystreams"

View file

@ -23,12 +23,14 @@
//! //!
//! First, add `serde` and `activitystreams-derive` to your Cargo.toml //! First, add `serde` and `activitystreams-derive` to your Cargo.toml
//! ```toml //! ```toml
//! activitystreams-derive = "3.0" //! activitystreams-derive = "0.4.0-alpha.1"
//! # or activitystreams = "0.4.0-alpha.1"
//! serde = { version = "1.0", features = ["derive"] } //! serde = { version = "1.0", features = ["derive"] }
//! ``` //! ```
//! //!
//! ```rust //! ```rust
//! use activitystreams_derive::{properties, UnitString}; //! use activitystreams_derive::{properties, UnitString};
//! // or activitystreams::{properties, UnitString};
//! use serde_json::Value; //! use serde_json::Value;
//! //!
//! /// Using the UnitString derive macro //! /// Using the UnitString derive macro