From 496305f0916fb61106a42d434344bf7a0cce97ba Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Tue, 25 Apr 2023 17:21:27 +0200 Subject: [PATCH] Add dependencies --- Cargo.toml | 4 +++- src/gateway.rs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 175e3e6..b441eb6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,6 @@ reqwest = "0.11.16" url = "2.3.1" chrono = "0.4.24" regex = "1.7.3" -custom_error = "1.9.2" \ No newline at end of file +custom_error = "1.9.2" +native-tls = "0.2.11" +tokio-tungstenite = {version = "0.18.0", features = ["native-tls"]} \ No newline at end of file diff --git a/src/gateway.rs b/src/gateway.rs index e4ba3c9..d68be22 100644 --- a/src/gateway.rs +++ b/src/gateway.rs @@ -1,2 +1,4 @@ #[derive(Debug)] -pub struct Gateway {} +pub struct Gateway { + url: String, +}