fix: install default crypto provider
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
43f589b016
commit
2e0779fc6c
3 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,7 @@ async fn main() -> eyre::Result<()> {
|
|||
dotenvy::dotenv().ok();
|
||||
color_eyre::install()?;
|
||||
env_logger::init();
|
||||
rustls::crypto::aws_lc_rs::default_provider().install_default().expect("Couldn't initialize crypto provider");
|
||||
|
||||
let token =
|
||||
std::env::var("DISCORD_BOT_TOKEN").wrap_err("Couldn't find bot token in environment!")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue