- Basic - Basic client usage.
- Axum - Use a client pool with Axum.
- TLS - Setting up a client that uses TLS.
- Publish-Subscribe - Use multiple clients together with the pubsub interface in a way that survives network interruptions.
- Blocking - Use multiple clients with the blocking list interface.
- Transactions - Use the MULTI/EXEC interface on a client.
- Pipeline - Use the manual pipeline interface.
- Streams - Use
XADD
andXREAD
to communicate between tasks. - Lua - Use the Lua scripting interface on a client.
- Scan - Use the SCAN interface to scan and read keys.
- Pool - Use a redis connection pool.
- Monitor - Process a
MONITOR
stream. - Sentinel - Connect using a sentinel deployment.
- Serde JSON - Use the
serde-json
feature to convert between Redis types and JSON. - Redis JSON - Use the
redis-json
feature withserde-json
types. - Custom - Send custom commands or operate on RESP frames.
- DNS - Customize the DNS resolution logic.
- Client Tracking - Implement client side caching.
- Events - Respond to connection events with the
EventsInterface
. - Keyspace Notifications - Use the keyspace notifications interface.
- Misc - Miscellaneous or advanced features.
Or see the tests for more examples.