# 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 = "pttman"
version = "0.6.0"
authors = ["Michael Olson <c@mwolson.org>"]
build = false
exclude = [
    "node_modules/",
    "target/",
    "tmp/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Push-to-talk microphone control with a daemon-backed command queue for PipeWire"
readme = "README.md"
keywords = [
    "audio",
    "daemon",
    "microphone",
    "pipewire",
    "push-to-talk",
]
categories = [
    "command-line-utilities",
    "multimedia::audio",
]
license = "MIT"
repository = "https://github.com/mwolson/pttman"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.regex]
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
