Redis Client for no_std
This crate offers a non-blocking Redis Client for no_std targets. Both RESP2 and RESP3 protocol are supported.
Documentation:
- Connection management
- Non-blocking response handling
- Popular command examples:
- Command abstraction
- Custom commands
Example
use FromStr;
use SocketAddr;
use Stack;
use StandardClock;
use ConnectionHandler;
let mut stack = default;
let clock = default;
let server_address = from_str.unwrap;
let mut connection_handler = resp2;
let client = connection_handler.connect.unwrap;
let future = client.set.unwrap;
let response = future.wait.unwrap;
Development
Any form of support is greatly appreciated. Feel free to create issues and PRs. See DEVELOPMENT for more details.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Each contributor agrees that his/her contribution covers both licenses.