[package]
edition = "2024"
rust-version = "1.95"
name = "blubat-core"
version = "0.4.0"
authors = ["Paul Chiu"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bluetooth battery model, macOS data sources and polling engine behind the blubat CLI"
homepage = "https://github.com/paulchiu/blubat"
documentation = "https://docs.rs/blubat-core"
readme = false
keywords = [
"bluetooth",
"battery",
"macos",
"cli",
"tui",
]
categories = [
"command-line-utilities",
"os::macos-apis",
]
license = "MIT"
repository = "https://github.com/paulchiu/blubat"
[lib]
name = "blubat_core"
path = "src/lib.rs"
[[test]]
name = "engine_state"
path = "tests/engine_state.rs"
[[test]]
name = "live_read"
path = "tests/live_read.rs"
[[test]]
name = "watch_files"
path = "tests/watch_files.rs"
[dependencies.etcetera]
version = "0.11"
[dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"std",
"CFDictionary",
"CFString",
"CFNumber",
"CFRunLoop",
]
default-features = false
[dependencies.objc2-io-kit]
version = "0.3.2"
features = [
"std",
"libc",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.toml]
version = "1.1"