Commit Graph

19 Commits

Author SHA1 Message Date
Bryan Garza
6cd697afe9 Add (optional) OpenTelemetry + Xray integration (#95) (#96)
This introduces all the necessary code to be able to send traces to
AWS Xray via `tracing-opentelemetry`. It can be optionally enabled
using the `xray` feature defined on this crate.

Also update the README.md with instructions on how to enable and use
this.
2022-05-18 09:13:19 -07:00
Alice Ryhl
66c71e89a3 chore: prepare mini-redis v0.4.1 (#79) 2021-07-12 10:32:12 +02:00
Carl Lerche
0fb264826d chore: update to Tokio 1.0 (#70) 2020-12-23 09:41:23 -08:00
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
a3f3dd867d rename bins (#44)
This better supports `cargo install mini-redis`.
2020-05-15 14:23:58 -07:00
Carl Lerche
a372a3cb8c remove accidental Tokio 0.1 dependency (#43) 2020-05-15 14:23:41 -07:00
Carl Lerche
2965f9a1cf Prepare v0.1.0 release (#42) 2020-05-13 13:50:09 -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
4ac69aeb76 write server test (#19) 2020-04-03 12:21:39 -07: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
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