aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: b6778b13ece077348c0b15030e533b09fc50f909 (plain) (blame)
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
[package]
name = "dumb-voice-protocol"
version = "0.1.0"
edition = "2024"
description = "A CLI program that reads your microphone device and outputs information to stdout/IPC."

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

[dependencies]
clap = { version = "4.6.1", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
toml = "0.8"
tokio = { version = "1.52.3", features = ["net", "rt", "rt-multi-thread", "macros"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
pinyin = { version = "0.11.0", features = ["with_tone", "with_tone_num", "with_tone_num_end"] }
cpal = "0.18.1"

[dependencies.vtx-engine]
git = "https://github.com/Weicao-CatilGrass/vtx-engine"
rev = "35b954ad50ec6211e6a25ca4777d1685311f696e"

[target.'cfg(windows)'.build-dependencies]
embed-resource = "3.0.9"

[profile.dev]
opt-level = 0
debug = true
panic = "unwind"
incremental = true
codegen-units = 256

[profile.release]
opt-level = 3
debug = false
panic = "abort"
incremental = false
codegen-units = 1