replaced autoconfig by custom email-lib account discovery module

This commit is contained in:
Clément DOUIN
2024-01-18 11:59:27 +01:00
parent 2342a83d0d
commit 7d4ad9c1d9
6 changed files with 111 additions and 934 deletions
+6 -4
View File
@@ -1,10 +1,12 @@
use anyhow::Result;
use autoconfig::config::{AuthenticationType, Config as AutoConfig, SecurityType, ServerType};
use dialoguer::{Confirm, Input, Password, Select};
use email::{
account::config::{
oauth2::{OAuth2Config, OAuth2Method, OAuth2Scopes},
passwd::PasswdConfig,
account::{
config::{
oauth2::{OAuth2Config, OAuth2Method, OAuth2Scopes},
passwd::PasswdConfig,
},
discover::config::{AuthenticationType, AutoConfig, SecurityType, ServerType},
},
smtp::config::{SmtpAuthConfig, SmtpConfig, SmtpEncryptionKind},
};