From 699a090e5182bbeef54a8d4c3baddc49cffe378b Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Fri, 3 Nov 2023 15:08:17 +0200 Subject: [PATCH] chore(version): revert versions --- .pubnub.yml | 7 +------ Cargo.toml | 2 +- README.md | 10 +++++----- src/lib.rs | 10 +++++----- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/.pubnub.yml b/.pubnub.yml index 9f75d1ba..502b2912 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,14 +1,9 @@ name: rust -version: 0.4.2 +version: 0.4.0 schema: 1 scm: github.com/pubnub/rust files: [] changelog: - - date: 2023-11-03 - version: 0.4.2 - changes: - - type: improvement - text: "Update license information." - date: 2023-10-16 version: 0.4.0 changes: diff --git a/Cargo.toml b/Cargo.toml index 8dedcb49..f4fdc10c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pubnub" -version = "0.4.2" +version = "0.4.0" edition = "2021" license-file = "LICENSE" authors = ["PubNub "] diff --git a/README.md b/README.md index 2ec20443..ea8e056b 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ Add `pubnub` to your Rust project in the `Cargo.toml` file: ```toml # default features [dependencies] -pubnub = "0.4.2" +pubnub = "0.4.0" # all features [dependencies] -pubnub = { version = "0.4.2", features = ["full"] } +pubnub = { version = "0.4.0", features = ["full"] } ``` ### Example @@ -132,11 +132,11 @@ disable them in the `Cargo.toml` file, like so: ```toml # only blocking and access + default features [dependencies] -pubnub = { version = "0.4.2", features = ["blocking", "access"] } +pubnub = { version = "0.4.0", features = ["blocking", "access"] } # only parse_token + default features [dependencies] -pubnub = { version = "0.4.2", features = ["parse_token"] } +pubnub = { version = "0.4.0", features = ["parse_token"] } ``` ### Available features @@ -175,7 +175,7 @@ you need, for example: ```toml [dependencies] -pubnub = { version = "0.4.2", default-features = false, features = ["serde", "publish", +pubnub = { version = "0.4.0", default-features = false, features = ["serde", "publish", "blocking"] } ``` diff --git a/src/lib.rs b/src/lib.rs index b2170bfd..8fc95901 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,11 +39,11 @@ //! ```toml //! # default features //! [dependencies] -//! pubnub = "0.4.2" +//! pubnub = "0.4.0" //! //! # all features //! [dependencies] -//! pubnub = { version = "0.4.2", features = ["full"] } +//! pubnub = { version = "0.4.0", features = ["full"] } //! ``` //! //! ### Example @@ -135,11 +135,11 @@ //! ```toml //! # only blocking and access + default features //! [dependencies] -//! pubnub = { version = "0.4.2", features = ["blocking", "access"] } +//! pubnub = { version = "0.4.0", features = ["blocking", "access"] } //! //! # only parse_token + default features //! [dependencies] -//! pubnub = { version = "0.4.2", features = ["parse_token"] } +//! pubnub = { version = "0.4.0", features = ["parse_token"] } //! ``` //! //! ### Available features @@ -178,7 +178,7 @@ //! //! ```toml //! [dependencies] -//! pubnub = { version = "0.4.2", default-features = false, features = ["serde", "publish", +//! pubnub = { version = "0.4.0", default-features = false, features = ["serde", "publish", //! "blocking"] } //! ``` //!