This commit is contained in:
Clément DOUIN 2024-11-29 10:21:55 +01:00
parent 85a12a54c0
commit eafeeb28a4
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
4 changed files with 9 additions and 20 deletions

1
Cargo.lock generated
View file

@ -1794,6 +1794,7 @@ dependencies = [
"clap_mangen",
"color-eyre",
"email-lib",
"himalaya",
"mail-builder",
"mml-lib",
"once_cell",

View file

@ -16,30 +16,15 @@ features = ["imap", "maildir", "smtp", "sendmail", "oauth2", "wizard", "pgp-comm
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = [
"imap",
"maildir",
#"notmuch",
"smtp",
"sendmail",
#"keyring",
#"oauth2",
"wizard",
"pgp-commands",
#"pgp-gpg",
#"pgp-native",
]
default = ["imap", "maildir", "smtp", "sendmail", "wizard", "pgp-commands"]
imap = ["email-lib/imap", "pimalaya-tui/imap"]
maildir = ["email-lib/maildir", "pimalaya-tui/maildir"]
notmuch = ["email-lib/notmuch", "pimalaya-tui/notmuch"]
smtp = ["email-lib/smtp", "pimalaya-tui/smtp"]
sendmail = ["email-lib/sendmail", "pimalaya-tui/sendmail"]
keyring = ["email-lib/keyring", "pimalaya-tui/keyring", "secret-lib/keyring"]
oauth2 = ["email-lib/oauth2", "pimalaya-tui/oauth2", "keyring"]
wizard = ["email-lib/autoconfig", "pimalaya-tui/wizard"]
pgp-commands = ["email-lib/pgp-commands", "mml-lib/pgp-commands", "pimalaya-tui/pgp-commands"]
pgp-gpg = ["email-lib/pgp-gpg", "mml-lib/pgp-gpg", "pimalaya-tui/pgp-gpg"]
pgp-native = ["email-lib/pgp-native", "mml-lib/pgp-native", "pimalaya-tui/pgp-native"]
@ -47,6 +32,9 @@ pgp-native = ["email-lib/pgp-native", "mml-lib/pgp-native", "pimalaya-tui/pgp-na
[build-dependencies]
pimalaya-tui = { version = "=0.1", default-features = false, features = ["build-envs"] }
[dev-dependencies]
himalaya = { path = ".", features = ["notmuch", "keyring", "oauth2", "pgp-gpg", "pgp-native"] }
[dependencies]
ariadne = "0.2"
clap = { version = "4.4", features = ["derive", "env", "wrap_help"] }

View file

@ -42,7 +42,7 @@ $ himalaya envelope list --account posteo --folder Archives.FOSS --page 2
### Pre-built binary
Himalaya CLI `v1.0.0` can be installed with a pre-built binary. Find the latest [`pre-release`](https://github.com/pimalaya/himalaya/actions/workflows/pre-release.yml) GitHub workflow and look for the *Artifacts* section. You should find a pre-built binary matching your OS.
Himalaya CLI `v1.0.0` can be installed with a pre-built binary. Find the latest [`pre-releases`](https://github.com/pimalaya/himalaya/actions/workflows/pre-releases.yml) GitHub workflow and look for the *Artifacts* section. You should find a pre-built binary matching your OS.
### Cargo (git)

View file

@ -39,11 +39,11 @@
"pimalaya": {
"flake": false,
"locked": {
"lastModified": 1732861699,
"narHash": "sha256-zAH0R9TnwxqevDMtQlp1+K/FUvHD7vFCvxx1IAPJPkg=",
"lastModified": 1732869386,
"narHash": "sha256-83tDRVfSBVZgIp6WOb6r/T6cHfP7lNsK1MUTdkGMi14=",
"owner": "pimalaya",
"repo": "nix",
"rev": "5496d03953c15ce3022b76e9514ff083517cc740",
"rev": "be23e0deeb014c6be5232322b892c9bee25dee77",
"type": "github"
},
"original": {