From 76fe63791baea5577bde3f83243f85ba781f46fe Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 25 Aug 2021 17:20:31 +0200 Subject: Rewrote the configuration options to make Diplonat modular: IGD and Firewall modules will only be enabled if correponding `DIPLONAT_*_ENABLE` is set. (Breaking changes!) Also rearranged imports throughout the project, because I couldn't resist, sorry. --- src/consul.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/consul.rs') diff --git a/src/consul.rs b/src/consul.rs index 1bb30aa..9a91782 100644 --- a/src/consul.rs +++ b/src/consul.rs @@ -1,6 +1,7 @@ -use serde::{Serialize, Deserialize}; use std::collections::HashMap; + use anyhow::{Result, anyhow}; +use serde::{Serialize, Deserialize}; #[derive(Serialize, Deserialize, Debug)] pub struct ServiceEntry { -- cgit v1.2.3