# 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"
rust-version = "1.75"
name = "bthman"
version = "0.2.0"
authors = ["Michael Olson <c@mwolson.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bluetooth HFP profile manager with suspend/resume reconnect for PipeWire + WirePlumber"
readme = "README.md"
keywords = [
    "bluetooth",
    "hfp",
    "pipewire",
    "pulseaudio",
    "daemon",
]
categories = [
    "command-line-utilities",
    "multimedia::audio",
]
license = "MIT"
repository = "https://github.com/mwolson/bthman"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.signal-hook]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
