Ting Sun
999b570f09
rm extra space
2023-03-23 09:18:25 -07:00
Kim Chan
c1c3bcb465
implement client ping ( #108 )
2022-08-25 11:10:32 +02:00
Tony-X
4b4ecf0310
Remove unused import ( #92 )
2022-02-09 10:18:40 +01:00
tison
6513e5226c
support PING command for easy testing ( #90 )
...
Signed-off-by: tison <wander4096@gmail.com >
2022-01-23 15:27:30 +01:00
Ricardo Galli
c3bc304ac9
Fix expiration and upppercase check ( #72 )
2021-01-04 18:52:35 +01:00
Carl Lerche
0fb264826d
chore: update to Tokio 1.0 ( #70 )
2020-12-23 09:41:23 -08:00
Carl Lerche
77df32d15e
Track Tokio v0.3 changes ( #67 )
2020-10-22 20:18:54 -07:00
Carl Lerche
1cb8ec9b0f
rename pool to buffer ( #56 )
2020-06-12 19:38:27 -07:00
Carl Lerche
03f8281431
make more APIs public ( #55 )
2020-06-12 15:15:51 -07:00
Alice Ryhl
f1042d6b7c
simplify Subscribe::apply ( #54 )
2020-06-11 20:39:15 -07:00
João Oliveira
c0bcee4300
add initial connection pool ( #53 )
2020-06-11 13:43:02 -07:00
João Oliveira
dc8993b56b
fix typo on Set command apply function: Get should be Set ( #52 )
2020-05-27 09:19:35 -07:00
avinassh
4c9ef8b31f
fix typos ( #50 )
2020-05-20 21:58:16 +02:00
guanqun
bbaa16c6f5
typo fix ( #48 )
2020-05-18 11:25:04 -05:00
Carl Lerche
81888e36b5
fmt ( #34 )
2020-04-15 09:47:28 -07:00
Carl Lerche
ecf1eb4ea8
More comments and tweak details ( #33 )
...
Co-authored-by: Alice Ryhl <alice@ryhl.io >
2020-04-15 09:44:12 -07:00
Carl Lerche
5752d1e0fc
mostly docs, some code tweaks as well ( #31 )
...
Db background tasks never shutdown o_O
2020-04-13 21:02:32 -07:00
Carl Lerche
d4f0dac671
add server pub/sub tests, fix pub/sub response ( #27 )
...
mini-redis server responses on PUB/SUB commands did not match real
redis.
2020-04-06 16:34:12 -07:00
João Oliveira
922919a9d4
add unknown commands handling without breaking client connection ( #26 )
...
- fix client unsubscribe when subscribe list in the event of the
received unsubscribe list is in a different order than subscribed
- add tests for subscribe and unsubscribe commands
- add tests for unknown command handling
2020-04-06 13:27:58 -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
Avery Harnish
7bd7086d41
implement client set ( #11 )
2020-03-28 14:00:47 -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
Avery Harnish
9852de9924
runs cargofmt ( #3 )
2020-02-11 13:27:49 -08:00
Carl Lerche
358e95e57c
Initial commit
2020-02-05 09:56:25 -08:00