Update version to 0.22

master
Paul Woolcock 5 years ago
parent a59ad95188
commit 17c727f5c6
  1. 2
      Cargo.toml
  2. 4
      README.md
  3. 6
      src/helpers/mod.rs

@ -1,6 +1,6 @@
[package] [package]
name = "elefren" name = "elefren"
version = "0.21.0" version = "0.22.0"
description = "A wrapper around the Mastodon API." description = "A wrapper around the Mastodon API."
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>"] authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

@ -19,7 +19,7 @@ To add `elefren` to your project, add the following to the
`[dependencies]` section of your `Cargo.toml` `[dependencies]` section of your `Cargo.toml`
```toml ```toml
elefren = "0.20" elefren = "0.22"
``` ```
## Example ## Example
@ -28,7 +28,7 @@ In your `Cargo.toml`, make sure you enable the `toml` feature:
```toml ```toml
[dependencies] [dependencies]
elefren = { version = "0.20", features = ["toml"] } elefren = { version = "0.22", features = ["toml"] }
``` ```
```rust,no_run ```rust,no_run

@ -5,7 +5,7 @@
/// ///
/// ```toml,ignore /// ```toml,ignore
/// [dependencies.elefren] /// [dependencies.elefren]
/// version = "0.18" /// version = "0.22"
/// features = ["toml"] /// features = ["toml"]
/// ``` /// ```
pub mod toml; pub mod toml;
@ -17,7 +17,7 @@ pub mod toml;
/// ///
/// ```toml,ignore /// ```toml,ignore
/// [dependencies.elefen] /// [dependencies.elefen]
/// version = "0.18" /// version = "0.22"
/// features = ["json"] /// features = ["json"]
/// ``` /// ```
pub mod json; pub mod json;
@ -29,7 +29,7 @@ pub mod json;
/// ///
/// ```toml,ignore /// ```toml,ignore
/// [dependencies.elefren] /// [dependencies.elefren]
/// version = "0.18" /// version = "0.22"
/// features = ["env"] /// features = ["env"]
/// ``` /// ```
pub mod env; pub mod env;

Loading…
Cancel
Save