Commit Graph

17 Commits

Author SHA1 Message Date
Perma Alesheikh 1e448e56eb replace dialoguer with inquire
In order to reduce our dependencies, we are replacing the dependencies
that use console_rs with those that use crossterm.

This commit will completely replace dialoguer with inquire.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-05-14 18:20:54 +02:00
Perma Alesheikh 5a0ff83a5e replace anyhow and log with color_eyre and tracing
Since Himalaya is intended to be ran as a CLI in the terminal emulator
environment, their user experience could vastly improve with better and
more colorful error messages and logging.

This change will replace more minimal libraries for error-reporting/han-
dling with their more advanced counterparts.

Since these crates have tight integrations, this commit will change both
in one shot.

Also we have don't need env_logger any more. So I also have removed that
guy as well.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-04-15 12:17:56 +02:00
Clément DOUIN 7ee710634b bump deps, make global config option repeatable 2024-03-16 22:20:19 +01:00
Clément DOUIN 04982a4644 fix cargo features issues 2024-02-24 14:27:05 +01:00
Clément DOUIN 79da9404f3 fix smtp discovery wrong config 2024-02-23 08:46:21 +01:00
Clément DOUIN 7d4ad9c1d9 replaced autoconfig by custom email-lib account discovery module 2024-01-18 11:59:27 +01:00
Clément DOUIN 7eba3a5186 generate one autoconfig per email address 2024-01-15 15:27:14 +01:00
Clément DOUIN 1246be8a5b fix wizard serialization issues 2024-01-12 10:16:43 +01:00
Clément DOUIN bd1ac45a58 remove empty string from println call 2024-01-09 22:02:09 +01:00
Clément DOUIN 6f9f75cfd2 plug autoconfig to imap and smtp wizards 2024-01-09 21:36:17 +01:00
Clément DOUIN b0d7e773dc renamed sync feature to account-sync, put wizard stuff under feature 2024-01-09 09:28:45 +01:00
Perma Alesheikh 921194da5c remove empty str inside println
Reasons:
- Functionally it has the same result.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-01-08 23:02:03 +01:00
Clément DOUIN a59d1ca2c6 refactor imap and smtp encryption options 2023-12-30 22:38:25 +01:00
Clément DOUIN 3e3f111d3b fix typos 2023-12-11 22:01:48 +01:00
Clément DOUIN 2e0ec913cf refactor configs to match new nested api from lib 2023-12-11 18:38:00 +01:00
Clément DOUIN 8b1a289f4d rename existing cargo features, fix imports 2023-12-04 22:26:49 +01:00
Clément DOUIN c54ada730b fix wizard 2023-12-03 22:31:43 +01:00