-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (37 loc) · 1.16 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
[package]
name = "h-button-driver"
version = "0.1.0"
edition = "2021"
[dependencies]
btleplug = { version = "0.11.0", features = ["serde"] }
rand = "0.8.5"
log = "0.4.19"
pretty_env_logger = "0.5.0"
tokio = { version = "1.29.1", features = ["macros", "rt", "rt-multi-thread"] }
serde_json = "1.0.104"
futures = "0.3.28"
uuid = "1.4.1"
anyhow = "1.0.72"
serde = { version = "1.0.177", features = ["derive"] }
tauri = { version = "1.4.0", features = ["api-all", "icon-png", "system-tray"] }
once_cell = "1.18.0"
async-trait = "0.1.72"
[build-dependencies]
tauri-build = { version = "1.4.0", features = [] }
[target.'cfg(target_os="macos")'.dependencies]
coreaudio-rs = "0.11.2"
[target.'cfg(target_os="linux")'.dependencies]
alsa = "0.7.0"
[profile.release]
incremental = false
codegen-units = 1
panic = "abort"
opt-level = "s"
lto = true
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
# default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]