Sonic Channel
Rust client for sonic search backend.
We recommend you start with the documentation.
Installation
Add sonic-channel = { version = "0.4" }
as a dependency in Cargo.toml
.
Cargo.toml
example:
[]
= "my-crate"
= "0.1.0"
= ["Me <user@rust-lang.org>"]
[]
= { = "0.4" }
Example usage
Search channel
Note: This example requires enabling the search
feature, enabled by default.
use *;
Ingest channel
Note: This example requires enabling the ingest
feature.
use *;
Control channel
Note: This example requires enabling the control
feature.
use *;
Available features
- default - ["search"]
- search - Add sonic search mode with methods
- ignite - Add sonic ignite mode with methods
- control - Add sonic control mode with methods