-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (48 loc) · 1.43 KB
/
Cargo.toml
File metadata and controls
52 lines (48 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "linux_bt_proxy"
version = "0.1.0"
edition = "2021"
build = "build.rs"
authors = ["Ross Reedstrom <ross@reedstrom.org>"]
description = "A Bluetooth advertisement proxy for Home Assistant using the ESPHome API"
license = "GPL-3.0-or-later"
[package.metadata.deb]
name = "linux-bt-proxy"
maintainer = "Ross Reedstrom <ross@reedstrom.org>"
depends = "systemd"
section = "utils"
priority = "optional"
assets = [
["target/release/linux_bt_proxy", "usr/bin/", "755"],
["systemd/linux-bt-proxy.service", "lib/systemd/system/", "644"]
]
maintainer-scripts = "debian"
extended-description = """
A Bluetooth advertisement proxy for Home Assistant using the ESPHome API.
Runs as a daemon, forwarding BLE advertisements via TCP to Home Assistant.
"""
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/linux_bt_proxy", dest = "/usr/bin/linux_bt_proxy", mode = "755" },
{ source = "systemd/linux-bt-proxy.service", dest = "/lib/systemd/system/linux-bt-proxy.service", mode = "644" }
]
[package.metadata.generate-rpm.requires]
systemd = "*"
[dependencies]
clap = { version = "4", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
mdns-sd = "0.13"
mac_address = "1.1"
protobuf = "3.7"
log = "0.4"
env_logger = "0.11"
bytes = "1"
gethostname = "1.0.2"
libc = "0.2.174"
zbus = "5"
anyhow = "1.0.98"
futures-util = "0.3.31"
[build-dependencies]
protobuf = "3.7"
protobuf-codegen = "3.7"
chrono = "0.4.41"