[package] name = "btle-proximity" version = "0.2.0" edition = "2021" rust-version = "1.85" resolver = "3" description = "BLE proximity screen locker: locks the desktop session when your phone leaves Bluetooth range" license-file = "LICENSE" [package.metadata.deb] maintainer = "Bastian Mäuser " copyright = "2026, Bastian Mäuser" section = "utils" priority = "optional" depends = "systemd, bluez (>= 5.50)" extended-description = """\ BLE proximity screen locker: watches advertisement updates from a paired \ phone via BlueZ over D-Bus, escalates the radio duty cycle as sightings \ stale, and locks the desktop session via loginctl once the phone is \ confirmed unreachable by a connection probe.\ """ assets = [ ["target/release/btle-proximity", "usr/bin/", "755"], ["packaging/systemd/btle-proximity.service", "usr/lib/systemd/user/", "644"], ["packaging/man/btle-proximity.1", "usr/share/man/man1/", "644"], ["config.toml.example", "usr/share/doc/btle-proximity/examples/config.toml", "644"], ["README.md", "usr/share/doc/btle-proximity/README.md", "644"], ["LICENSE", "usr/share/doc/btle-proximity/LICENSE", "644"], ] [dependencies] anyhow = "1" clap = { version = "4", features = ["derive"] } sd-notify = "0.4" serde = { version = "1", features = ["derive"] } tokio = { version = "1", features = ["macros", "process", "rt-multi-thread", "signal", "time"] } tokio-stream = "0.1" toml = "0.8" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } zbus = { version = "5", default-features = false, features = ["tokio"] } [profile.release] lto = true strip = true