mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-22 03:40:59 +00:00
0.4.0-alpha.1
This commit is contained in:
parent
502d77e49e
commit
1e3c40951d
3 changed files with 6 additions and 5 deletions
|
@ -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 <asonix@asonix.dog>"]
|
||||
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
|
||||
|
|
|
@ -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 <asonix.dev@gmail.com>"]
|
||||
repository = "https://git.asonix.dog/Aardwolf/activitystreams"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue