mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
908 B
37 lines
908 B
[package]
|
|
authors = ["Carl Lerche <me@carllerche.com>"]
|
|
edition = "2018"
|
|
name = "mini-redis"
|
|
version = "0.4.1"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
documentation = "https://docs.rs/mini-redis/0.4.0/mini-redis/"
|
|
repository = "https://github.com/tokio-rs/mini-redis"
|
|
description = """
|
|
An incomplete implementation of a Rust client and server. Used as a
|
|
larger example of an idiomatic Tokio application.
|
|
"""
|
|
|
|
[[bin]]
|
|
name = "mini-redis-cli"
|
|
path = "src/bin/cli.rs"
|
|
|
|
[[bin]]
|
|
name = "mini-redis-server"
|
|
path = "src/bin/server.rs"
|
|
|
|
[dependencies]
|
|
async-stream = "0.3.0"
|
|
atoi = "0.3.2"
|
|
bytes = "1"
|
|
structopt = "0.3.14"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
tracing = "0.1.13"
|
|
tracing-futures = { version = "0.2.3" }
|
|
tracing-subscriber = "0.2.2"
|
|
|
|
[dev-dependencies]
|
|
# Enable test-utilities in dev mode only. This is mostly for tests.
|
|
tokio = { version = "1", features = ["test-util"] }
|