Releases: hexcowboy/rslock
Releases · hexcowboy/rslock
rslock 0.6.0
- Adds support for creating new
LockManager
s from pre-existing Redis clients usingLockManager::from_clients
Sample syntax:
// Create Redis clients
let uris = vec![
"redis://127.0.0.1:6380/",
"redis://127.0.0.1:6381/",
"redis://127.0.0.1:6382/",
];
let clients: Vec<Client> = uris
.iter()
.map(|uri| Client::open(*uri).expect("Failed to create Redis client"))
.collect();
// Initialize the LockManager using `from_clients`
let rl = LockManager::from_clients(clients);
See full example in examples/from_clients.rs
rslock 0.5.1
- Upgraded all dependencies to latest versions
redis
is now at0.27.5
which had some deprecated APIs that have been addressedtestcontainers
is now at0.23.1
which had breaking API changes that have also been addressed
- Changes made to some tests to help with slow CI environments accidentally failing tests