Change the title
authorGreg Burri <greg.burri@gmail.com>
Wed, 14 Jul 2021 07:13:30 +0000 (09:13 +0200)
committerGreg Burri <greg.burri@gmail.com>
Wed, 14 Jul 2021 07:13:30 +0000 (09:13 +0200)
src/main.rs

index 79b2262..cd54e9d 100644 (file)
@@ -1,12 +1,10 @@
 /*
  * API Reference: https://api.gandi.net/docs/livedns/
+ *
  * Some similar implementations:
  * - https://github.com/rmarchant/gandi-ddns/blob/master/gandi_ddns.py
  * - https://github.com/brianhp2/gandi-automatic-dns
  *
- * TODO:
- * - Log to stdout with (at least) timestamps.
- * - Renew function.
  */
 
 #![cfg_attr(debug_assertions, allow(unused_variables, unused_imports, dead_code))]
@@ -23,8 +21,7 @@ use crate::config::Config;
 const FILE_CONF: &str = "config.ron";
 
 fn main() -> Result<()> {
-
-    println!("GANDI DynDNS");
+    println!("=== GANDI LiveDNS updater ===");
 
     let config = Config::read(FILE_CONF)?;