-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
43 lines (37 loc) · 1.08 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 = "LowAudioLatency"
description = ""
version = "3.0.0"
authors = ["spddl"]
edition = "2021"
build = "build.rs"
[[bin]]
name = "low_audio_latency"
path = "src/main.rs"
[profile.dev]
# This isn't required for development builds, but makes development
# build behavior match release builds. To enable unwinding panics
# during development, simply remove this line.
panic = "abort" # Abort on panic
[profile.release]
opt-level = "z" # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
strip = true # Automatically strip symbols from the binary.
[dependencies]
ntapi = "0.4.1"
[dependencies.windows]
version = "0.57.0"
features = [
"Win32_Foundation",
"Win32_Media_Audio",
"Win32_Security",
"Win32_System_Com_StructuredStorage",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_System_Variant",
"Win32_UI_Shell_PropertiesSystem",
]
[target.'cfg(target_os="windows")'.build-dependencies]
winres = "^0.1"