Crate dscfg_proto

source ·
Expand description

Protocol specification for dynamic shared configuration

This crate contains types used in both client and server, so they aren’t duplicated. This ensures consistency - if a change is made, it will immediately affect both client and the server.

Features of this crate:

  • client - derives traits needed by the client
  • server - derives traits needed by the server

The purpose of having those features is to not slow down compilation by compiling unneeded code as well as not increase the binary size unneccessarily.

Re-exports

pub extern crate serde_json;

Modules

Reexport for serde_json

Enums

Request sent from client to server.
Response or notification sent to the client.