diff options
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | src/main.rs | 5 |
3 files changed, 6 insertions, 1 deletions
@@ -219,6 +219,7 @@ dependencies = [ "rand", "regex", "reqwest", + "rustls", "sasl", "serde", "serde_json", @@ -45,6 +45,7 @@ regex = "1" rand = "0.9" +rustls = "0.23" reqwest = { version = "0.12", default-features = false, features = [ "rustls-tls", "gzip", 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(); |
