-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
58 lines (51 loc) · 2.09 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]
name = "mirador"
description = "CLI to watch mailbox changes"
version = "1.0.0"
authors = ["soywod <[email protected]>"]
edition = "2021"
license = "MIT"
categories = ["command-line-utilities", "email"]
keywords = ["cli", "email", "watch", "imap", "maildir"]
homepage = "https://github.com/pimalaya/"
documentation = "https://github.com/pimalaya/mirador/"
repository = "https://github.com/pimalaya/mirador/"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = [
"imap",
"maildir",
#"keyring",
#"oauth2",
"wizard",
]
imap = ["email-lib/imap", "pimalaya-tui/imap"]
maildir = ["email-lib/maildir", "pimalaya-tui/maildir"]
keyring = ["dep:keyring-lib", "email-lib/keyring", "pimalaya-tui/keyring"]
oauth2 = ["email-lib/oauth2", "pimalaya-tui/oauth2", "keyring"]
wizard = ["email-lib/autoconfig", "pimalaya-tui/wizard"]
[build-dependencies]
pimalaya-tui = { version = "=0.1", default-features = false, features = ["build-envs"] }
[dependencies]
async-ctrlc = { version = "1.2", features = ["termination"] }
async-trait = "0.1"
clap = { version = "4.4", features = ["derive", "wrap_help", "env"] }
clap_complete = "4.4"
clap_mangen = "0.2"
color-eyre = "0.6"
email-lib = { version = "=0.26", default-features = false, features = ["tokio-rustls", "watch", "notify", "derive"] }
pimalaya-tui = { version = "=0.1", default-features = false, features = ["email", "path", "cli", "config", "tracing"] }
keyring-lib = { version = "1", optional = true, default-features = false, features = ["tokio", "rustls"] }
serde = { version = "1", features = ["derive"] }
shellexpand-utils = "=0.2.1"
tokio = { version = "1.23", default-features = false, features = ["macros", "rt-multi-thread"] }
tracing = "0.1"
[patch.crates-io]
email-lib = { git = "https://github.com/pimalaya/core" }
keyring-lib = { git = "https://github.com/pimalaya/core" }
oauth-lib = { git = "https://github.com/pimalaya/core" }
pimalaya-tui = { git = "https://github.com/pimalaya/tui" }
process-lib = { git = "https://github.com/pimalaya/core" }
secret-lib = { git = "https://github.com/pimalaya/core" }