projects
/
gandi_dns_update.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1419216
)
Change the title
author
Greg Burri
<greg.burri@gmail.com>
Wed, 14 Jul 2021 07:13:30 +0000
(09:13 +0200)
committer
Greg Burri
<greg.burri@gmail.com>
Wed, 14 Jul 2021 07:13:30 +0000
(09:13 +0200)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index
79b2262
..
cd54e9d
100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-1,12
+1,10
@@
/*
* API Reference: https://api.gandi.net/docs/livedns/
/*
* 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
*
* 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))]
*/
#![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<()> {
const FILE_CONF: &str = "config.ron";
fn main() -> Result<()> {
-
- println!("GANDI DynDNS");
+ println!("=== GANDI LiveDNS updater ===");
let config = Config::read(FILE_CONF)?;
let config = Config::read(FILE_CONF)?;