From 1a0c64984559476877c3498f80a52a55813db3c2 Mon Sep 17 00:00:00 2001 From: ftbsc Date: Wed, 12 Apr 2023 18:12:38 +0200 Subject: [PATCH] feat: allow tls --- Cargo.toml | 2 +- src/server/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79148e4..de0c0c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ required-features = ["nvim"] [dependencies] # core tracing = "0.1" -tonic = "0.9" +tonic = { version = "0.9", features = ["tls", "tls-roots"] } prost = "0.11.8" md5 = "0.7.0" uuid = { version = "1.3.1", features = ["v4"] } diff --git a/src/server/main.rs b/src/server/main.rs index 8d57893..98947ca 100644 --- a/src/server/main.rs +++ b/src/server/main.rs @@ -33,7 +33,7 @@ async fn main() -> Result<(), Box> { .with_max_level(if args.debug { tracing::Level::DEBUG } else { tracing::Level::INFO }) .init(); - info!("starting server"); + info!("binding server on {}", args.host); Server::builder() .add_service(BufferService::new().server())