diff --git a/Cargo.lock b/Cargo.lock index e976e430..9a643c41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1794,6 +1794,7 @@ dependencies = [ "clap_mangen", "color-eyre", "email-lib", + "himalaya", "mail-builder", "mml-lib", "once_cell", diff --git a/Cargo.toml b/Cargo.toml index 9f06bbf4..1da39ce7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/README.md b/README.md index 204cb49a..62836973 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/flake.lock b/flake.lock index 1956e9b1..24ae2f18 100644 --- a/flake.lock +++ b/flake.lock @@ -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": {