-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
58 lines (48 loc) · 1.42 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
version = "1.1.4"
authors = ["Michael Ripley <[email protected]"]
edition = "2021"
license = "GPL-3.0-only"
name = "simple-crosshair-overlay"
description = "A simple native crosshair overlay"
readme = "README.md"
repository = "https://github.com/zkxs/simple-crosshair-overlay"
keywords = ["application", "overlay", "window", "crosshair"]
categories = []
rust-version = "1.70.0"
[lib]
path = "src-lib/lib.rs"
[profile.release]
lto = "fat"
codegen-units = 1
strip = true
[profile.release-optimized-debug]
inherits = "release"
strip = false # required for `cargo-bloat`
debug = true # required for `cargo flamegraph`, and makes `cargo-bloat` output significantly better
[features]
benchmark = [] # used to compile reference functions only needed for benchmarking against
[dependencies]
tray-icon = { version = "0.14", default-features = false }
winit = "0.30"
softbuffer = "0.4"
serde = { version = "1", features = ["derive"] }
toml = "0.8.12"
directories = "5"
lazy_static = "1"
native-dialog = "0.7"
debug_print = "1"
png = "0.17"
device_query = "1"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser", "windef", "minwindef"] }
[target.'cfg(target_os = "linux")'.dependencies]
gtk = "0.18" # must use this version of gtk because it's what tray-icon 0.10 needs
[build-dependencies]
winres = "0.1"
ico = "0.3"
[dev-dependencies]
criterion = "0.5"
[[bench]]
name = "benches"
harness = false