aboutsummaryrefslogtreecommitdiff
path: root/src/dyndns_service
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyndns_service')
-rw-r--r--src/dyndns_service/gandi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dyndns_service/gandi.rs b/src/dyndns_service/gandi.rs
index 03ecf6f..8851b2c 100644
--- a/src/dyndns_service/gandi.rs
+++ b/src/dyndns_service/gandi.rs
@@ -4,12 +4,12 @@
// --header 'content-type: application/json' \
// --data "{ \"rrset_ttl\": 300, \"rrset_values\": [\"1.2.3.4\"] }"
+use crate::config::DnsRecordType;
use crate::dyndns_service::DynDnsServiceConfiguration;
use http::Method;
use serde::{Deserialize, Serialize};
use serde_with::DisplayFromStr;
use serde_with::serde_as;
-use crate::config::DnsRecordType;
// See https://api.gandi.net/docs/livedns/ for more info
#[serde_as]
@@ -53,8 +53,8 @@ impl DynDnsServiceConfiguration for Gandi {
#[cfg(test)]
mod tests {
- use serde_json::json;
use super::*;
+ use serde_json::json;
#[test]
fn check_defaults() {