Commit Graph

13 Commits

Author SHA1 Message Date
Taiki Endo
da29371460 Update async-stream to 0.3.0 (#69) 2020-11-09 12:57:00 -08:00
Carl Lerche
77df32d15e Track Tokio v0.3 changes (#67) 2020-10-22 20:18:54 -07:00
Carl Lerche
cefca5377a prepare v0.2.0 release (#60) 2020-07-15 14:38:05 -07:00
Alice Ryhl
9af44d6336 Update Tokio to 0.2.21 (#46)
As Tokio version 0.2.21 contains a fix in the broadcast channel that
removes a memory leak in mini-redis, I don't think 0.2.20 should be
considered the minimum supported version, even if the codebase compiles
with that version.

Refs: #38
2020-05-15 14:51:24 -07:00
Carl Lerche
a372a3cb8c remove accidental Tokio 0.1 dependency (#43) 2020-05-15 14:23:41 -07:00
Carl Lerche
fdba12b964 use structopt instead of Clap (#41)
mini-redis uses the CLI derive pattern. Clap does not yet have a release
supporting this pattern. Using structopt allows mini-redis to avoid git
dependencies.
2020-05-12 16:48:16 -07:00
Carl Lerche
84f7086238 use a released version of Tokio (#40) 2020-05-12 16:40:34 -07:00
João Oliveira
3fbd9ddc42 add pub sub client implementation with examples (#22)
* add pub sub client implementation with examples

* replace subscribed_channels list Vec with HashSet to avoid duplicates

* update Subscriber to use async-stream instead of manual Stream impl

* revert update to error handling server.rs, as #21 handles it

* remove uneeded recursion limit extension
2020-04-05 18:33:21 +01:00
Carl Lerche
bbb80c341e apply client/cli polish (#15)
Continuation of #11. Refines the client structure and implements GET.

`clap` is decoupled from the lib code. This is done to avoid any CLI
parsing concerns to leak into the lib. The main motivation for this is
to allow the reader to focus on Tokio concerns and not CLI parsing
concerns.
2020-04-01 16:09:41 -07:00
Carl Lerche
fc5597f293 server: implement key expiration (#13) 2020-03-25 13:45:54 -07:00
Avery Harnish
2b6b19ebc3 feat: adds trace events to server 2020-03-03 17:14:18 -06:00
Avery Harnish
80511f2cb5 add cli for server/client (#4)
This PR adds a CLI to main.rs that allows you to run the redis server and eventually the redis client.
2020-03-03 09:15:20 -08:00
Carl Lerche
358e95e57c Initial commit 2020-02-05 09:56:25 -08:00