-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (37 loc) · 1.29 KB
/
Cargo.toml
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
# See more [package]keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "bluet"
version = "0.1.0"
edition = "2021"
authors = ["Patrik Vácal <[email protected]>"]
description = "Bluetooth triggers made easy"
homepage = "https://github.com/gamecraftCZ/bluet"
repository = "https://github.com/gamecraftCZ/bluet"
readme = "README.md"
keywords = ["bluetooth", "linux"]
[[bin]]
# BlueT daemon service
name = "bluet_daemon"
path = "src/bluet_daemon.rs"
doc = true
required-features = ["daemon"]
[profile.release]
lto = true # Enable link-time optimization for considerably smaller binary size
[dependencies]
log = "0.4.17"
libc = "0.2.139"
users = "0.11.0"
serde = "1.0.152"
toml = "0.5.10"
lazy_static = "1.4.0"
# Optional deps
env_logger = { version = "0.10.0", optional = true }
# Daemon deps
systemd-journal-logger = { version = "0.7.0", optional = true }
bluer = { version = "0.15.4", features = ["bluetoothd"], optional = true }
futures = { version = "0.3.25", optional = true }
tokio = { version = "1.23.0", features = ["macros", "rt", "signal"], optional = true }
tokio-stream = { version = "0.1.11", optional = true }
[features]
daemon = ["dep:bluer", "dep:tokio", "dep:tokio-stream", "dep:futures", "dep:systemd-journal-logger"]
debug = ["dep:env_logger"]