Skip to content

the-sprawl-project/construct-cache

Repository files navigation

Construct Cache

A simple key value store that I personally use for learning rust and getting comfortable with its learning curve, including concurrency support, borrowing and whatnot. Part of The Sprawl Project.

Try it out!

  1. Clone using SSH
$ git clone git@github.com:the-sprawl-project/construct-cache.git
  1. Build the project
$ cd construct-cache
$ make dev
  1. Run the server first
$ target/debug/construct_cache_server
  1. Run the client
$ target/debug/construct_cache_client
  1. Type h for help within the client.

Syncing protobufs with sprawl-protocol

When developing features, you might want to sync your protobufs to the main spawl-protocol repository as well. This will allow other repositories to use the same protobuf structures when accessing the Construct Cache.

To sync protobufs, do the following:

  1. Setup the sprawl-protocol repository through a git clone.
  2. Set the SPRAWL_PROTOCOLS_LOCAL_PATH variable in your .rc file (.zshrc for example) to point to the root of the repository
  3. Run make sync-protos-local to sync the protobufs from the sprawl-protocol repo to this project.
  4. If any changes are made in this repo to the protobuf structures and should be committed to the sprawl-protocol repository, run make push-protos and commit the changes in that repository.

New features coming soon! Check out the issues tab.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published