Crates.io | embedded_redis_client |
lib.rs | embedded_redis_client |
version | 0.1.0 |
source | src |
created_at | 2021-06-01 19:38:38.878491 |
updated_at | 2021-06-01 19:38:38.878491 |
description | Automatically runs a local redis-server instance |
homepage | |
repository | https://gitlab.com/embedded-redis-client/embedded_redis_client |
max_upload_size | |
id | 404883 |
size | 53,853 |
EmbeddedRedisClient automatically runs a redis-server instance during the life of the client application. Using EmbeddedRedisClient, multiple client instances can communicate with the redis-server instance in parallel.
If another redis server instance is already running on the configured port, then EmbeddedRedisClient connects to this already running server instead.
The unit tests of this crate expect the presence a redis-server binary and redis.conf file in the following locations relative to the crate root: ../database/redis/redis/redis-server ../database/redis/configuration/redis.conf
The unit tests try to connect to the redis server on redis' default port localhost/6379
Tested on Ubuntu 18.04 and macOS 11.2.
Simultaneous starting of multiple EmbeddedRedisClient instances may fail.