[package] name = "cpumap" version = "0.2.1" edition = "2021" license = "MIT" repository = "https://codeberg.org/Kiith/cpumap" documentation = "https://docs.rs/cpumap" homepage = "https://codeberg.org/Kiith/cpumap" description = "GUI/TUI to view and edit CPU affinities of processes and threads on Linux" readme = "README.md" keywords = ["utility", "cpu", "performance", "affinity", "benchmarking"] categories = [] [dependencies] anyhow = "1.0.79" eframe = { version = "0.22.0", optional = true } egui_commonmark = { version = "0.7.4", optional = true } fuzzy-matcher = "0.3.7" hwloc2 = "2.2.0" crossterm = { version = "0.27.0", optional = true } ratatui = { version = "0.24.0", optional = true, features = ["macros"] } ratatui-textarea = { version = "0.4.1", optional = true} regex = "1.10.2" sysinfo = "0.30.7" log = "0.4" simplelog = "0.12.2" clap = { version = "4.5.4", features = ["derive"] } [features] # use `--no-default-features --features gui` to get a pure egui build with no TUI default = [ "tui" ] gui = ["dep:eframe", "dep:egui_commonmark"] tui = ["dep:crossterm", "dep:ratatui", "dep:ratatui-textarea"] [profile.relfast] inherits = "release" debug = true incremental = true codegen-units = 256 lto = false [profile.release] debug = true lto = true codegen-units = 1 # opt-level is best kept at default