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

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