Skip to content

pozsgaic/memcache_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

memcache_test

Rust test project for memcache

This project is a simple introduction to running memcached on a local MacOS and spinning up a simple client. It is not intended to be comprehensive.

This project assumes that Rust has been installed and "cargo" is on $PATH and can be executed from a MacOS terminal.

##. Install memcached on local machine

brew install memcached

##. Locate and start the memcached

/usr/local/opt/memcached/bin/memcached -l localhost

##. Create a new cargo project (clone this repo or start from scratch) You can clone this repo for the contents, but steps will be listed here anyway.

cargo new memcache_test

##. Add dependency on memcache to the Cargo.toml [dependencies] memcache = "*"

##. Go to src/main.rs and add sample test code.

##. From root directory, build and run: "cargo run"

About

Rust test project for memcache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages