[go: up one dir, main page]

Skip to content

NextDotID/kv_server

Repository files navigation

KV Service for proof_server

KV service

This lambda function / standalone server implements simple KV storage for each single entity in proof-server.

Goal [3/3]

  • [X] Each entity should has its own KV storage (theoretically unlimited space).
  • [X] No limitation for value: store any JSON-compatable structure.
  • [X] Nested set / del value.

development

Windows

Because diesel depends on the libpq for the PostgreSQL backend, you’ll need to install the libpq with vcpkg and vcpkg_cli.

  1. Install vcpkg and libpq and vcpkg_cli
# install vcpkg ...
vcpkg install libpq:x64-windows
cargo install vcpkg_cli
  1. set environment variable and set toolchain
set VCPKGRS_DYNAMIC=1
set VCPKG_ROOT=your\vcpkgrepo\root
rustup toolchain install stable-msvc
rustup default stable-msvc
  1. probe libpq
vcpkg_cli probe libpq