diff --git a/Makefile.toml b/Makefile.toml index afde166..0d08eae 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -9,7 +9,7 @@ args = ["msrv"] [tasks.minlock] toolchain = "nightly" command = "cargo" -args = ["update", "-Zminimal-versions"] +args = ["update", "-Zdirect-minimal-versions"] [tasks.build] command = "cargo" diff --git a/memcrab-cli/README.md b/memcrab-cli/README.md index f90a335..c7ff392 100644 --- a/memcrab-cli/README.md +++ b/memcrab-cli/README.md @@ -2,15 +2,22 @@ Command line interface for memcrab. -# Usage +## Install -## Server +From the main branch: +```sh +cargo install --git https://github.com/cospectrum/memcrab memcrab-cli +``` + +## Usage + +### Server Start a server on TCP address `127.0.0.1:4949` ```bash memcrab-cli server -a 127.0.0.1:4949 & ``` -## Client +### Client Execute one and exit ```bash memcrab-cli client -a 127.0.0.1:4949 set key value @@ -18,6 +25,5 @@ memcrab-cli client -a 127.0.0.1:4949 set key value Start interactive REPL. Press Ctrl-d to exit. ```bash -memcrab-cli client -a 127.0.0.1:4949 +memcrab-cli client -a 127.0.0.1:4949 ``` -