dcs2 0.1.0

An extensible distributed control system framework made in rust with no-std support.
Documentation
//! # Distributed control system.
//! This library provides the interfaces and some generic implementations for a control system
//! designed as a collection of nodes coordinated by a leader election algorithm. Said nodes execute
//! certain configurable policiesm, henceforth rules, based on the input provided by a collection of
//! sensors, and acting upon a set of actuators.

#![no_std]
extern crate alloc;

pub use heapless;

pub mod communication;
pub mod config;
pub mod coordination;
pub mod membership;
pub mod nodes;
pub mod properties;
pub mod rules;
pub mod utils;

/// Defines errors genereated while decodeng and ecoding messages
#[derive(Debug)]
pub enum CodificationError {
    BufferOverflowError,
    DeserializationError,
    SerializationError,
    WrongCodifierError,
}