diff --git a/Cargo.toml b/Cargo.toml index a4f51ab..9309d54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "activitystreams" description = "Activity Streams in Rust" -version = "0.4.0-alpha.0" +version = "0.4.0-alpha.1" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/activitystreams" @@ -17,7 +17,7 @@ primitives = ["chrono", "mime", "serde", "thiserror", "url"] types = ["derive", "kinds", "primitives", "serde"] [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" chrono = { version = "0.4", optional = true } mime = { version = "0.3", optional = true } @@ -29,7 +29,6 @@ url = { version = "2.1", optional = true } anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -typetag = "0.1.4" [profile.dev.package.activitystreams-derive] opt-level = 3 diff --git a/activitystreams-derive/Cargo.toml b/activitystreams-derive/Cargo.toml index 5bfe546..42ff19a 100644 --- a/activitystreams-derive/Cargo.toml +++ b/activitystreams-derive/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "activitystreams-derive" description = "Derive macros for activitystreams" -version = "0.4.0-alpha.0" +version = "0.4.0-alpha.1" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/activitystreams" diff --git a/activitystreams-derive/src/lib.rs b/activitystreams-derive/src/lib.rs index 4b0dba5..0f6d678 100644 --- a/activitystreams-derive/src/lib.rs +++ b/activitystreams-derive/src/lib.rs @@ -23,12 +23,14 @@ //! //! First, add `serde` and `activitystreams-derive` to your Cargo.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"] } //! ``` //! //! ```rust //! use activitystreams_derive::{properties, UnitString}; +//! // or activitystreams::{properties, UnitString}; //! use serde_json::Value; //! //! /// Using the UnitString derive macro