#configuration #shared #ipc #protocol


Server-side implementation of dynamic shared configuration

1 unstable release

Uses old Rust 2015

0.1.0 Dec 3, 2018

#46 in #shared

21 downloads per month
Used in dscfg-cached_file_storage

MITNFA license

297 lines

Dscfg client

Server implementation for dynamic shared config.


This crate implements server side of dscfg protocol. It exposes simple functions to listen for incoming clients using either default length delimited encoding or a custom encoding.

The crate doesn't implement storing of the configuration but defines Storage trait used for implementing it instead. Thanks to it, the code is more flexible. If you don't want to implement it yourself, but just use sensible default, you may use dscfg-cached_file_storage crate, which provides a basic implementation.

All this being said, if you're looking for a dscfg server, you might want to use dscfg-unix_server, which implements everything required to get dscfg running.


~46K SLoC