chore: update readme

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-04 11:47:33 +03:00
parent 13f8aaa6f8
commit f5ecc123bc
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ We recommend you start with the [documentation].
## Installation
Add `sonic-channel = { version = "0.5" }` as a dependency in `Cargo.toml`.
Add `sonic-channel = { version = "0.6" }` as a dependency in `Cargo.toml`.
`Cargo.toml` example:
@ -17,9 +17,12 @@ version = "0.1.0"
authors = ["Me <user@rust-lang.org>"]
[dependencies]
sonic-channel = { version = "0.5" }
sonic-channel = { version = "0.6", features = ["ingest"] }
```
Add `default-features = false` to dependency, if you want to exclude default
`search` channel.
## Example usage
### Search channel