hyperion-framework
A lightweight component-based TCP framework for building service-oriented Rust applications with CLI control, async messaging, and lifecycle management.
Quickfire Features
- ๐ Component-Based Architecture: Build modular systems with loosely coupled components
- ๐ TCP Communication: Built-in networking support for distributed systems
- โ๏ธ Configuration Handling: Built in unique config and network topology handling for each component
- ๐ป CLI Integration: Command-line interface for system control and monitoring
- ๐ State Management: Robust component state handling and lifecycle management
- ๐ฆ Containerisation: Simplified component containment and management
- ๐ Async Support: Built on tokio for high-performance async operations
Hyperion Overview
Hyperion is a lightweight, component-based framework for building distributed Rust applications using TCP messaging. It helps you split large programs into modular, asynchronous servicesโeach wrapped in a HyperionContainer.
Each component becomes a self-contained, event-driven service that:
Listens and responds to structured TCP messages
Exposes a CLI for control and inspection
Handles its own config parsing, logging, and lifecycle state (start/restart/shutdown)
Hyperion is ideal for service-oriented projects where you want clean separation of logic, real-time communication, and container-like encapsulation within native Rust programs.
The framework makes it simple to bring your project into a fully asynchronous and multithreaded service-based environment, enabling independent component development, easier debugging, and scalability.
Installation via 
Add this to your Cargo.toml:
hyperion-network = 0.3.1
Project Structure
network/: TCP communication and networking componentsmessages/: Message definitions and component directivesutilities/: Common utilities and helper functionsdata_management/: Data handling and persistencecontainerisation/: Component lifecycle and state management
Dependencies
- tokio (1.44.2) - Async runtime
- serde (1.0.219) - Serialisation framework
- serde_json (1.0.140) - JSON support
- serde-xml-rs (0.8.1) - XML support
- log (0.4.27) - Logging infrastructure
- colored (3.0.0) - Terminal coloring
- async-trait (0.1.88) - Async trait support
Contributing
Contributions are welcome! Please feel free to submit a PR with a comprehensive description of work done.
License
Apache 2.0