aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-05-06 16:53:00 +0200
committerMax Audron <audron@cocaine.farm>2025-05-06 16:53:00 +0200
commit861ac23c78a3884695d7f7e018a314481010b603 (patch)
tree9d787ea25f8e6819f9194dede188e5e826263fdd /src
parentremove too commonly used used for shifty_eyes (diff)
fix rustls missing cryptoprovider
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 66148fd..ef32078 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,9 +1,12 @@
#[tokio::main]
async fn main() {
- use catinator::{catinator};
+ use catinator::catinator;
tracing_subscriber::fmt::init();
+ rustls::crypto::CryptoProvider::install_default(rustls::crypto::aws_lc_rs::default_provider())
+ .unwrap();
+
let mut bot = catinator::Bot::new().await.unwrap();
let mut sed = catinator::hooks::sed::Sed::new();