Files
mini-redis/Cargo.toml
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

20 lines
586 B
TOML

[package]
authors = ["Carl Lerche <me@carllerche.com>"]
edition = "2018"
name = "mini-redis"
version = "0.1.0"
[dependencies]
atoi = "0.3.2"
bytes = "0.5.4"
clap = { git = "https://github.com/clap-rs/clap/" }
tokio = { git = "https://github.com/tokio-rs/tokio", features = ["full"] }
tracing = "0.1.13"
tracing-futures = { version = "0.2.3", features = ["tokio"] }
tracing-subscriber = "0.2.2"
async-stream = "0.2.1"
[dev-dependencies]
# Enable test-utilities in dev mode only. This is mostly for tests.
tokio = { git = "https://github.com/tokio-rs/tokio", features = ["test-util"] }