Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (55 loc) · 2.38 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (55 loc) · 2.38 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "vireo"
version = "1.14.4"
edition = "2021"
description = "A clean, fast GNOME-native email client"
license = "AGPL-3.0-or-later"
repository = "https://github.com/hyprlab/vireo"
homepage = "https://vireo.hyprlab.co"
[dependencies]
# v4_14 for GtkPrintDialog: printing needs an async dialog, because the older
# blocking one spins a nested main loop and glib's future executor aborts when
# re-entered (see MessageViewInput::Print). The GNOME 50 runtime has GTK 4.20.
gtk = { package = "gtk4", version = "0.9", features = ["v4_14"] }
adw = { package = "libadwaita", version = "0.7", features = ["v1_4"] }
relm4 = { version = "0.9", features = ["macros", "libadwaita"] }
relm4-components = "0.9"
webkit6 = "0.4"
keyring = { version = "3", default-features = false, features = ["sync-secret-service", "crypto-rust"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Async mail stack (runs on a dedicated worker thread + tokio runtime)
tokio = { version = "1", features = ["rt-multi-thread", "net", "sync", "io-util", "time", "macros"] }
futures = "0.3"
async-imap = { version = "0.10", default-features = false, features = ["runtime-tokio"] }
async-native-tls = { version = "0.5", default-features = false, features = ["runtime-tokio"] }
mail-parser = "0.9"
lettre = { version = "0.11", default-features = false, features = ["tokio1-native-tls", "smtp-transport", "builder"] }
rfc2047-decoder = "1"
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
rusqlite = { version = "0.32", features = ["bundled"] }
# Configuration
serde = { version = "1", features = ["derive"] }
toml = "0.8"
dirs = "5"
# OAuth: PKCE S256 (RFC 7636) needs SHA-256 + base64url, and every token and
# CSP nonce comes from the OS CSPRNG. All three are already in the dependency
# graph via keyring, so naming them here adds no new downloads.
sha2 = "0.10"
base64 = "0.22"
getrandom = "0.2"
# Gravatar (opt-in): MD5 of the email + a simple blocking HTTPS fetch
ureq = { version = "2", features = ["json"] }
serde_json = "1"
# GNOME Contacts integration via Evolution Data Server (D-Bus)
zbus = "4"
[build-dependencies]
# Compiles resources/veem.gresource.xml (the bundled symbolic icons) into a
# .gresource blob embedded in the binary. See build.rs.
glib-build-tools = "0.20"
[profile.dev]
opt-level = 1
[profile.release]
lto = "thin"
codegen-units = 1
strip = true