# Heater A Rust command-line application that churns your CPU cores at maximum capacity so your laptop isn't cold ## Build ```bash cargo build --release ``` The compiled binary will be at `target/release/heater`. ## Usage ### Run indefinitely (until Ctrl+C) ```bash cargo run --release # or ./target/release/heater ``` ### Run for a specific duration (in seconds) ```bash cargo run --release -- --duration 30 # or ./target/release/heater --duration 30 ``` ### Customize the number of free cores ```bash # Leave 2 cores free cargo run --release -- --free-cores 2 # Use ALL cores (leave 0 free) cargo run --release -- --free-cores 0 # Run for 60 seconds, leaving 2 cores free cargo run --release -- --duration 60 --free-cores 2 ``` ## Options ``` -d, --duration Duration to run in seconds (omit for indefinite run) -f, --free-cores Number of cores to leave free (default: 1) -g, --gpu Enable GPU usage (makes more heat) -h, --help Print help -V, --version Print version ```