mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
feat: allow tls
This commit is contained in:
parent
7ae5329ce5
commit
1a0c649845
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ required-features = ["nvim"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# core
|
# core
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tonic = "0.9"
|
tonic = { version = "0.9", features = ["tls", "tls-roots"] }
|
||||||
prost = "0.11.8"
|
prost = "0.11.8"
|
||||||
md5 = "0.7.0"
|
md5 = "0.7.0"
|
||||||
uuid = { version = "1.3.1", features = ["v4"] }
|
uuid = { version = "1.3.1", features = ["v4"] }
|
||||||
|
|
|
@ -33,7 +33,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
.with_max_level(if args.debug { tracing::Level::DEBUG } else { tracing::Level::INFO })
|
.with_max_level(if args.debug { tracing::Level::DEBUG } else { tracing::Level::INFO })
|
||||||
.init();
|
.init();
|
||||||
|
|
||||||
info!("starting server");
|
info!("binding server on {}", args.host);
|
||||||
|
|
||||||
Server::builder()
|
Server::builder()
|
||||||
.add_service(BufferService::new().server())
|
.add_service(BufferService::new().server())
|
||||||
|
|
Loading…
Reference in a new issue