github dahomey-technologies/rustis 0.6.0

latest releases: 0.13.1, 0.13.0, 0.12.11...
16 months ago
  • merged Client and MultiplexedClient
    • more flexibility to users
    • more simplicity in rustis architecture
  • exposed get_client_state on Client
  • added Client::close to graciously close a client instance
  • Added Client::on_reconnect
    • allow callers to receive notifications when the clients reconnects to the Redis server
  • Added Config options:
    • connect_timeout - The time to attempt a connection before timing out (default 10,000ms).
    • command_timeout - If a command does not return a reply within a set number of milliseconds,
      a timeout error will be thrown. If set to 0, no timeout is apply (default 0).
    • auto_resubscribe - When the client reconnects, channels subscribed in the previous connection will be
      resubscribed automatically if auto_resubscribe is true (default true).
    • auto_remonitor - When the client reconnects, if in monitor mode, the
      monitor command will be resent automatically
    • connection_name - Set the name of the connection to make
      it easier to identity the connection in client list.
    • no_delay - Enable/disable the use of Nagle's algorithm (default true)
    • keep_alive - Enable/disable keep-alive functionality (default None)
  • removed struct BulkString
    • removed u8 impl for IntoArgs & FromValue
    • added Vec<u8>, &[u8], &[u8; N], [u8; N] impl for IntoArgs
    • added Vec<u8> impl for FromValue

Don't miss a new rustis release

NewReleases is sending notifications on new releases.