Initial commit.
authorGreg Burri <greg.burri@gmail.com>
Fri, 26 Feb 2021 13:34:20 +0000 (14:34 +0100)
committerGreg Burri <greg.burri@gmail.com>
Fri, 26 Feb 2021 13:34:20 +0000 (14:34 +0100)
.gitignore [new file with mode: 0644]
Cargo.lock [new file with mode: 0644]
Cargo.toml [new file with mode: 0644]
src/main.rs [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..ea8c4bf
--- /dev/null
@@ -0,0 +1 @@
+/target
diff --git a/Cargo.lock b/Cargo.lock
new file mode 100644 (file)
index 0000000..5c0ebb3
--- /dev/null
@@ -0,0 +1,5 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "asd"
+version = "0.1.0"
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644 (file)
index 0000000..4676ae7
--- /dev/null
@@ -0,0 +1,9 @@
+[package]
+name = "asd"
+version = "0.1.0"
+authors = ["Greg Burri <greg.burri@gmail.com>"]
+edition = "2018"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
diff --git a/src/main.rs b/src/main.rs
new file mode 100644 (file)
index 0000000..1509a25
--- /dev/null
@@ -0,0 +1,19 @@
+// API Reference: https://api.gandi.net/docs/livedns/
+// Some inspiration: https://github.com/rmarchant/gandi-ddns/blob/master/gandi_ddns.py
+
+
+fn main() {
+    println!("Hello, world!");
+}
+
+fn get_real_ip() {
+
+}
+
+fn get_current_record_ip() {
+
+}
+
+fn update_record_ip() {
+
+}