ocpp-kit 0.5.0

Open Charge Point Protocol (OCPP 1.6J, 2.0.1, 2.1) toolkit for Rust: typed messages, OCPP-J framing, a sans-I/O protocol engine, and transports for charging stations, CSMS and local controllers.
Documentation
// @generated by `cargo xtask codegen` from the vendored OCPP JSON schemas.
// DO NOT EDIT — re-run the generator instead. CI fails if this file is stale.

//! OCPP 2.0.1 messages, generated from the official OCA JSON schemas.
//!
//! * 64 actions (25 originated by the Charging Station, 40 by the CSMS)
//! * [`Action`] names every action; [`CsRequest`] / [`CsmsRequest`] are the
//!   direction-aware unions the engine dispatches on.
//! * Every payload implements [`Validate`](crate::validate::Validate); the engine runs it
//!   after deserialization and maps failures to the right OCPP error code.

mod action;
mod enums;
mod messages;
mod types;

pub use action::{
    Action, CsRequest, CsResponse, CsmsRequest, CsmsResponse, transcode_request, transcode_response,
};
pub use enums::*;
pub use messages::*;
pub use types::*;