Expand description
Configuration presets for common use cases
This module provides pre-configured setups for common network scenarios, combining multiple module configurations into ready-to-use presets.
§Available Presets
- Default: Balanced configuration for general use
- Low Memory: Optimized for devices with limited RAM (< 128 MB)
- IoT: Internet of Things devices (128-512 MB RAM)
- Mobile: Mobile devices with battery constraints
- High Performance: Server/desktop with ample resources
- Low Latency: Gaming, real-time communications
- High Throughput: File transfers, video streaming
- Privacy: Maximum privacy with Tor integration
- Development: Development and testing
§Example
use ipfrs_network::presets::NetworkPreset;
// Get a mobile-optimized configuration
let preset = NetworkPreset::mobile();
// Access individual configurations
let network_config = preset.network;
let quic_config = preset.quic;
let throttle_config = preset.throttle;Structs§
- Network
Preset - Complete network configuration preset