diff options
| author | Max Audron <audron@cocaine.farm> | 2025-05-06 16:53:00 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-05-06 16:53:00 +0200 |
| commit | 861ac23c78a3884695d7f7e018a314481010b603 (patch) | |
| tree | 9d787ea25f8e6819f9194dede188e5e826263fdd /src/main.rs | |
| parent | remove too commonly used used for shifty_eyes (diff) | |
fix rustls missing cryptoprovider
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 5 |
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(); |
