Cargo Features

[dependencies]
cpumap = { version = "0.2.1", default-features = false, features = ["gui", "tui"] }
default = tui

use --no-default-features --features gui to get a pure egui build with no TUI

gui

Enables eframe ^0.22.0 and egui_commonmark ^0.7.4

Affects shortcuts::Shortcuts, strings::TTIP_PROCLIST_SHOW, strings::TTIP_PROCLIST_HIDE, strings::filter, strings::TTIP_HELP, strings::TTIP_CPU, strings::HELP_RUN_SHORTCUTS, strings::HELP_VIEW_SHORTCUTS, strings::HELP_EDIT_SHORTCUTS, strings::HELP_MAIN_SHORTCUTS_GUI, strings::CPU_INFO, strings::run, strings::TTIP_RUN, strings::subprocess, strings::TTIP_SUBPROCESS, strings::TTIP_VIEW, strings::TTIP_EDIT, util::truncate_and_add_ellipsis, util::ShorcutControllable

tui default

Enables crossterm ^0.27.0, ratatui ^0.24.0, and ratatui-textarea

Affects strings::HELP_RUN_SHORTCUTS, strings::HELP_VIEW_SHORTCUTS, strings::HELP_EDIT_SHORTCUTS