-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (33 loc) · 1.26 KB
/
Copy pathCargo.toml
File metadata and controls
38 lines (33 loc) · 1.26 KB
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
[workspace]
members = ["xtask"]
resolver = "2"
[package]
name = "cindershift"
version = "0.3.5"
edition = "2021"
description = "A true red light and circadian screen tool that shifts warmth and brightness through the day."
license = "MIT"
[dependencies]
serde = { version = "1", features = ["derive"] }
toml = "0.8"
# Lightweight HTTP client for city geocoding (Nominatim/OpenStreetMap).
# default-features disabled to drop the rustls/ring stack (which needs a C
# compiler to build) and use only native-tls — Windows schannel — for HTTPS.
# With default features off, ureq does not auto-wire a TLS backend, so the agent
# is built with an explicit native-tls connector (see geocode.rs).
ureq = { version = "2", default-features = false, features = ["native-tls", "gzip"] }
# The TLS connector handed to ureq (Windows schannel under the hood).
native-tls = "0.2"
# Typed parsing of the Nominatim JSON response.
serde_json = "1"
[target.'cfg(target_os = "linux")'.dependencies]
# GTK3 for settings window and tray icon on Linux.
gtk = { version = "0.18", package = "gtk" }
[target.'cfg(windows)'.build-dependencies]
# Embeds the application icon resource into the Windows executable.
winresource = "0.1"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true