From e4b96d96e575899d54ec3da9cecb49ced3008dfd Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Wed, 21 Aug 2024 03:16:13 +0300 Subject: [PATCH] enable TLS support in CLI --- Cargo.lock | 1 + ngcli/Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 7ffe77c..0b66a14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3577,6 +3577,7 @@ dependencies = [ "env_logger", "getrandom 0.2.10", "log", + "ng-async-tungstenite", "ng-client-ws", "ng-net", "ng-repo", diff --git a/ngcli/Cargo.toml b/ngcli/Cargo.toml index edb8439..0be195d 100644 --- a/ngcli/Cargo.toml +++ b/ngcli/Cargo.toml @@ -28,4 +28,5 @@ log = "0.4" env_logger = "0.10" ng-repo = { path = "../ng-repo", version = "0.1.0-preview.8", features = ["server_log_output"] } ng-net = { path = "../ng-net", version = "0.1.0-preview.8" } -ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.8" } \ No newline at end of file +ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.8" } +ng-async-tungstenite = { version = "0.22.2", git = "https://git.nextgraph.org/NextGraph/async-tungstenite.git", branch = "nextgraph", features = ["async-std-runtime", "async-native-tls"] } \ No newline at end of file