amphetamine 0.1.1

Reclaim memory and win scheduler contention on Apple Silicon, safely.
[package]
name = "amphetamine"
version = "0.1.1"
edition = "2024"
# 1.85 is both the floor for edition 2024 and the highest MSRV any dependency
# declares, so this is the real minimum rather than a guess.
rust-version = "1.85"
description = "Reclaim memory and win scheduler contention on Apple Silicon, safely."
license = "MIT"
readme = "README.md"
repository = "https://github.com/GriffinCanCode/amphetamine"
homepage = "https://github.com/GriffinCanCode/amphetamine"
keywords = ["macos", "memory", "performance", "productivity", "cli"]
categories = ["command-line-utilities", "os::macos-apis"]
exclude = [".github/", "*.tmp"]

[[bin]]
name = "amph"
path = "src/main.rs"

# The crate cannot build anywhere but macOS, so pin docs.rs to a Darwin target
# instead of letting it fail on the default Linux builder.
[package.metadata.docs.rs]
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]

[dependencies]
anyhow = "1.0.104"
clap = { version = "4.6.6", features = ["derive"] }
ctrlc = "3.5.2"
dialoguer = { version = "0.12.0", default-features = false, features = ["fuzzy-select"] }
dirs = "6.0.0"
libc = "0.2.189"
objc2 = "0.6.4"
objc2-app-kit = { version = "0.3.2", features = ["NSRunningApplication", "NSWorkspace"] }
objc2-foundation = { version = "0.3.2", features = ["NSString", "NSArray", "NSURL"] }
owo-colors = "4.3.0"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
toml = "1.1.4"
toml_edit = "0.25.13"
walkdir = "2.5.0"

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true