diff options
Diffstat (limited to 'server/replaytool')
-rw-r--r-- | server/replaytool/Cargo.toml | 5 | ||||
-rw-r--r-- | server/replaytool/src/main.rs | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/server/replaytool/Cargo.toml b/server/replaytool/Cargo.toml index 036c464b..9d48392e 100644 --- a/server/replaytool/Cargo.toml +++ b/server/replaytool/Cargo.toml @@ -10,10 +10,13 @@ anyhow = "1.0.86" serde = { version = "1.0.204", features = ["derive"] } tokio = { version = "1.38.0", features = ["full"] } serde_json = "1.0.120" -tokio-tungstenite = { version = "0.23.1", features = ["native-tls"] } +tokio-tungstenite = { version = "0.23.1", features = [ + "rustls-tls-native-roots", +] } futures-util = "0.3.30" rand = "0.9.0-alpha.1" clap = { version = "4.5.8", features = ["derive"] } async-compression = { version = "0.4.11", features = ["zstd", "tokio"] } +rustls = { version = "0.23.10", features = ["ring"] } hurrycurry-protocol = { path = "../protocol" } diff --git a/server/replaytool/src/main.rs b/server/replaytool/src/main.rs index b591bf92..40466b82 100644 --- a/server/replaytool/src/main.rs +++ b/server/replaytool/src/main.rs @@ -61,6 +61,10 @@ async fn main() -> anyhow::Result<()> { .parse_env("LOG") .init(); + rustls::crypto::ring::default_provider() + .install_default() + .unwrap(); + let args = Args::parse(); match args { |