summaryrefslogtreecommitdiff
path: root/pixel-client
diff options
context:
space:
mode:
Diffstat (limited to 'pixel-client')
-rw-r--r--pixel-client/Cargo.toml1
-rw-r--r--pixel-client/src/main.rs4
2 files changed, 5 insertions, 0 deletions
diff --git a/pixel-client/Cargo.toml b/pixel-client/Cargo.toml
index cc618857..bd441236 100644
--- a/pixel-client/Cargo.toml
+++ b/pixel-client/Cargo.toml
@@ -13,3 +13,4 @@ log = "0.4.22"
env_logger = "0.11.3"
anyhow = "1.0.86"
clap = { version = "4.5.9", features = ["derive"] }
+rustls = { version = "0.23.10", features = ["ring"] }
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs
index a70dca04..76735c35 100644
--- a/pixel-client/src/main.rs
+++ b/pixel-client/src/main.rs
@@ -61,6 +61,10 @@ fn main() {
let args = Args::parse();
+ rustls::crypto::ring::default_provider()
+ .install_default()
+ .unwrap();
+
let sdl_context = sdl2::init().unwrap();
let video_subsystem = sdl_context.video().unwrap();