From 9269dc6460e4ef9e42e10fe140e62b86d805fcd9 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 16 Oct 2024 22:14:34 +0200 Subject: [PATCH] feat: Default for Config --- src/api/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/config.rs b/src/api/config.rs index b23d962..dcea368 100644 --- a/src/api/config.rs +++ b/src/api/config.rs @@ -8,7 +8,7 @@ /// `host`, `port` and `tls` affect all connections to all gRPC services; the /// resulting endpoint is composed like this: /// http{tls?'s':''}://{host}:{port} -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Default)] #[cfg_attr(feature = "js", napi_derive::napi(object))] #[cfg_attr( any(feature = "py", feature = "py-noabi"),