rt-hft-engine 0.1.0

Sub-microsecond HFT engine for vintage hardware
Documentation
//! # RT HFT Engine
//!
//! Sub-microsecond high-frequency trading engine optimized for vintage hardware.
//!
//! ## Performance Achievements
//!
//! Tested on Dell XPS 13 9350 (2015):
//! - **337 nanoseconds** minimum latency
//! - **3.3 microseconds** average latency  
//! - **8.7 microseconds** P99 latency
//! - **±0.8 microseconds** jitter
//!
//! ## Hardware Stack
//!
//! - **CPU**: Intel i7-6560U Skylake (2C/4T @ 2.2GHz)
//! - **RAM**: 8GB DDR4-2133 
//! - **Network**: Intel AX210 WiFi 6E
//! - **Storage**: 256GB NVMe SSD
//! - **Total Cost**: ~$500 (used, 2015)
//!
//! ## Software Optimizations
//!
//! - **OS**: CachyOS (Arch Linux based)
//! - **Kernel**: linux-cachyos-bore 6.11+ (RT-PREEMPT)
//! - **TCP**: BBRv3 congestion control
//! - **Scheduler**: BORE (Burst-Oriented Response Enhancer)
//! - **Language**: Rust 1.70+ (zero-cost abstractions)

#![deny(unsafe_code)]
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

pub mod engine;
pub mod order_book; 
pub mod market_data;
pub mod execution;
pub mod strategy;
pub mod risk;

// Re-exports
pub use engine::{HFTEngine, EngineConfig, EngineError};
pub use order_book::{OrderBook, Order, OrderSide, OrderType};

/// Main result type for engine operations
pub type Result<T> = std::result::Result<T, EngineError>;

/// Version information  
pub const VERSION: &str = env!("CARGO_PKG_VERSION");