diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-17 13:55:44 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-17 13:55:44 +0200 |
commit | 0eecf62f974cbef7c75c20786f1c78d1d2b93344 (patch) | |
tree | 9aeb463f05335b3138fb3b49d77766986eb44d83 /pixel-client | |
parent | 6f1b84ff3be82681e9e229aa3d63bbaafce46c5d (diff) | |
download | hurrycurry-0eecf62f974cbef7c75c20786f1c78d1d2b93344.tar hurrycurry-0eecf62f974cbef7c75c20786f1c78d1d2b93344.tar.bz2 hurrycurry-0eecf62f974cbef7c75c20786f1c78d1d2b93344.tar.zst |
add ssl capability
Diffstat (limited to 'pixel-client')
-rw-r--r-- | pixel-client/Cargo.toml | 1 | ||||
-rw-r--r-- | pixel-client/src/main.rs | 4 |
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(); |