-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
55 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "pubnub" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = ["PubNub <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
<div align = "center"> | ||
|
||
![PubNub](https://raw.githubusercontent.com/pubnub/rust/phoenix/logo.svg) | ||
![PubNub](https://raw.githubusercontent.com/pubnub/rust/master/logo.svg) | ||
|
||
![Tests](https://github.com/pubnub/rust/actions/workflows/run-tests.yml/badge.svg) | ||
![Validations](https://github.com/pubnub/rust/actions/workflows/run-validations.yml/badge.svg) | ||
|
@@ -35,11 +35,11 @@ Add `pubnub` to your Rust project in the `Cargo.toml` file: | |
```toml | ||
# default features | ||
[dependencies] | ||
pubnub = "0.2.0" | ||
pubnub = "0.2.1" | ||
|
||
# all features | ||
[dependencies] | ||
pubnub = { version = "0.2.0", features = ["full"] } | ||
pubnub = { version = "0.2.1", features = ["full"] } | ||
``` | ||
|
||
### Example | ||
|
@@ -74,7 +74,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { | |
} | ||
``` | ||
|
||
You can find more examples in our [examples](examples/) directory! | ||
You can find more examples in our [examples](https://github.com/pubnub/rust/tree/master/examples) directory! | ||
|
||
## Features | ||
|
||
|
@@ -83,11 +83,11 @@ The `pubnub` crate is split into multiple features. You can enable or disable th | |
```toml | ||
# only blocking and access + default features | ||
[dependencies] | ||
pubnub = { version = "0.2.0", features = ["blocking", "access"] } | ||
pubnub = { version = "0.2.1", features = ["blocking", "access"] } | ||
|
||
# only parse_token + default features | ||
[dependencies] | ||
pubnub = { version = "0.2.0", features = ["parse_token"] } | ||
pubnub = { version = "0.2.1", features = ["parse_token"] } | ||
``` | ||
|
||
### Available features | ||
|
@@ -121,7 +121,7 @@ features and enable the ones you need, for example: | |
|
||
```toml | ||
[dependencies] | ||
pubnub = { version = "0.2.0", default-features = false, features = ["serde", "publish", | ||
pubnub = { version = "0.2.1", default-features = false, features = ["serde", "publish", | ||
"blocking"] } | ||
``` | ||
|
||
|
@@ -151,15 +151,12 @@ See more: | |
If you're having problems compiling this crate for more exotic targets, you can try to use the | ||
`extra_platforms` feature. Be aware that this feature is **not supported** and we do not recommend using it. | ||
|
||
For more information about this feature. refer to [Cargo.toml](Cargo.toml) in the `[features]` section. | ||
For more information about this feature. refer to [Cargo.toml](https://github.com/pubnub/rust/blob/master/Cargo.toml) in the `[features]` section. | ||
|
||
## Support | ||
|
||
If you **need help** or have a **general question**, contact [email protected]. | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT license]. | ||
|
||
[MIT license]: https://github.com/pubnub/LICENSE/blob/master/LICENSE | ||
|
||
This project is licensed under the [MIT license](https://github.com/pubnub/rust/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
//! | ||
//! <div align = "center"> | ||
//! | ||
//! ![PubNub](https://raw.githubusercontent.com/pubnub/rust/phoenix/logo.svg) | ||
//! ![PubNub](https://raw.githubusercontent.com/pubnub/rust/master/logo.svg) | ||
//! | ||
//! ![Tests](https://github.com/pubnub/rust/actions/workflows/run-tests.yml/badge.svg) | ||
//! ![Validations](https://github.com/pubnub/rust/actions/workflows/run-validations.yml/badge.svg) | ||
|
@@ -38,11 +38,11 @@ | |
//! ```toml | ||
//! # default features | ||
//! [dependencies] | ||
//! pubnub = "0.0.0" | ||
//! pubnub = "0.2.1" | ||
//! | ||
//! # all features | ||
//! [dependencies] | ||
//! pubnub = { version = "0.0.0", features = ["full"] } | ||
//! pubnub = { version = "0.2.1", features = ["full"] } | ||
//! ``` | ||
//! | ||
//! ### Example | ||
|
@@ -77,7 +77,7 @@ | |
//! } | ||
//! ``` | ||
//! | ||
//! You can find more examples in our [examples](examples/) directory! | ||
//! You can find more examples in our [examples](https://github.com/pubnub/rust/tree/master/examples) directory! | ||
//! | ||
//! ## Features | ||
//! | ||
|
@@ -86,11 +86,11 @@ | |
//! ```toml | ||
//! # only blocking and access + default features | ||
//! [dependencies] | ||
//! pubnub = { version = "0.0.0", features = ["blocking", "access"] } | ||
//! pubnub = { version = "0.2.1", features = ["blocking", "access"] } | ||
//! | ||
//! # only parse_token + default features | ||
//! [dependencies] | ||
//! pubnub = { version = "0.0.0", features = ["parse_token"] } | ||
//! pubnub = { version = "0.2.1", features = ["parse_token"] } | ||
//! ``` | ||
//! | ||
//! ### Available features | ||
|
@@ -124,7 +124,7 @@ | |
//! | ||
//! ```toml | ||
//! [dependencies] | ||
//! pubnub = { version = "0.0.0", default-features = false, features = ["serde", "publish", | ||
//! pubnub = { version = "0.2.1", default-features = false, features = ["serde", "publish", | ||
//! "blocking"] } | ||
//! ``` | ||
//! | ||
|
@@ -154,18 +154,15 @@ | |
//! If you're having problems compiling this crate for more exotic targets, you can try to use the | ||
//! `extra_platforms` feature. Be aware that this feature is **not supported** and we do not recommend using it. | ||
//! | ||
//! For more information about this feature. refer to [Cargo.toml](Cargo.toml) in the `[features]` section. | ||
//! For more information about this feature. refer to [Cargo.toml](https://github.com/pubnub/rust/blob/master/Cargo.toml) in the `[features]` section. | ||
//! | ||
//! ## Support | ||
//! | ||
//! If you **need help** or have a **general question**, contact [email protected]. | ||
//! | ||
//! ## License | ||
//! | ||
//! This project is licensed under the [MIT license]. | ||
//! | ||
//! [MIT license]: https://github.com/pubnub/LICENSE/blob/master/LICENSE | ||
//! | ||
//! This project is licensed under the [MIT license](https://github.com/pubnub/rust/blob/master/LICENSE). | ||
|
||
#[cfg(feature = "access")] | ||
#[doc(inline)] | ||
|
@@ -183,6 +180,7 @@ pub use dx::publish; | |
pub use dx::{Keyset, PubNubClientBuilder, PubNubGenericClient}; | ||
|
||
#[cfg(feature = "reqwest")] | ||
#[doc(inline)] | ||
pub use dx::PubNubClient; | ||
|
||
pub mod core; | ||
|
Oops, something went wrong.