Daemon that enables reading/writing of flat-file key/value databases available via HTTP API, using REST/JSON or Protobufs.
protoc
compiler.Standard rust cargo multi-binary setup:
$ cargo build
$ cargo run --bin kvdbd
Zeroconf docker example, with sled database stored on docker volume dbdata
:
$ docker volume create dbdata
$ docker run --rm -p 8080:8080 -v dbdata:/data jgarzik/kvdbd \
kvdbd --bind-addr 0.0.0.0 --sled /data/sled.db
$ curl http://127.0.0.1:8080/ | json_pp
Integration testing is performed via a separate binary, tester
.
$ cargo run --bin tester
Unrelated projects with similar names: