From a3f3dd867d46357206640c3cfa31996cb3f0c6e3 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Fri, 15 May 2020 14:23:58 -0700 Subject: [PATCH] rename bins (#44) This better supports `cargo install mini-redis`. --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index dece00c..c91a522 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,14 @@ 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.2.1" atoi = "0.3.2"