# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "macpow"
version = "0.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time power consumption monitor for Apple Silicon Macs"
homepage = "https://github.com/k06a/macpow"
readme = "README.md"
keywords = [
    "apple-silicon",
    "power",
    "monitor",
    "tui",
    "macos",
]
categories = [
    "command-line-utilities",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/k06a/macpow"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[lib]
name = "macpow"
path = "src/lib.rs"

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

[[example]]
name = "smc_power"
path = "examples/smc_power.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[bench]]
name = "data_sources"
path = "benches/data_sources.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.core-foundation]
version = "0.10"

[dependencies.core-foundation-sys]
version = "0.8"

[dependencies.crossterm]
version = "0.29"

[dependencies.libc]
version = "0.2"

[dependencies.ratatui]
version = "0.29"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.unicode-width]
version = "0.2.0"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
