mail client (IMAP/SMTP)
git clone https://git.lucas.co/cce-mail.git
Cargo.toml (1.6K)
1 [package]
2 name = "cce-mail"
3 version = "0.1.0"
4 edition = "2021"
5 # Only runs bindgen when the `wpe` feature is on, so a featureless build
6 # needs no WPE headers.
7 build = "build.rs"
8
9 [features]
10 # HTML mail rendering via embedded WPE WebKit (the same engine and embedding
11 # pattern as cce-browser's default build — see src/wpe/). Default, so a
12 # routine sweep rebuild ships the HTML view instead of silently reverting to
13 # text-only. Needs `pacman -S wpewebkit`.
14 default = ["wpe"]
15 wpe = ["dep:rustix"]
16
17 [dependencies]
18 keyring = { version = "3", features = ["sync-secret-service"] }
19 cce-ui = { git = "https://github.com/lsgalante/cce-ui.git", rev = "f3c970be244ad54121021a8223986ba553e09838" }
20 smithay-client-toolkit = "0.19.2"
21 calloop = "0.13.0"
22 calloop-wayland-source = "0.3.0"
23 wayland-client = { version = "0.31", features = ["system"] }
24 xkeysym = "0.2"
25 tokio = { version = "1", features = ["full"] }
26 serde = { version = "1", features = ["derive"] }
27 serde_json = "1"
28 imap = { version = "2.4", features = ["native-tls"] }
29 lettre = { version = "0.11", features = ["tokio1", "tokio1-native-tls"] }
30 native-tls = "0.2"
31 reqwest = { version = "0.12", features = ["json"] }
32 mail-parser = "0.11.5"
33 imap-proto = "0.10"
34 # Only used by the `wpe` backend, to hold GLib's changing pollfd set in one
35 # epoll fd that calloop can watch (same bridge as cce-browser's).
36 rustix = { version = "0.38", features = ["event"], optional = true }
37
38 [build-dependencies]
39 bindgen = "0.72"
40 pkg-config = "0.3"
41
42 # Headless smoke test for the embedded webview (no Wayland session needed).
43 [[example]]
44 name = "wpe_mail"
45 required-features = ["wpe"]
46