diff --git a/Cargo.lock b/Cargo.lock index a2e37a4..c3a0f29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -104,7 +104,7 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "die-exit" version = "0.3.3" -source = "git+https://github.com/SeriousBug/die.git#b804d9e970e02c7976792bfdc205e6b6dc81f1d4" +source = "git+https://github.com/Xavientois/die.git?rev=31d3801f4e21654b0b28430987b1e21fc7728676#31d3801f4e21654b0b28430987b1e21fc7728676" [[package]] name = "directories" diff --git a/Cargo.toml b/Cargo.toml index 5a2c3d4..40e7840 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,6 @@ name = "gandi-rust-dns-updater" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] reqwest = { version = "0.11.7", features = ["json"] } @@ -16,4 +14,5 @@ structopt = "0.3.25" tokio = { version = "1.14.0", features = ["full"] } futures = "0.3.17" anyhow = "1.0" -die-exit = { git = "https://github.com/SeriousBug/die.git" } \ No newline at end of file +# TODO: Relies on a yet-unreleased interface. Switch to an actual crate release once available +die-exit = { git = "https://github.com/Xavientois/die.git", rev = "31d3801f4e21654b0b28430987b1e21fc7728676" } \ No newline at end of file diff --git a/Readme.md b/Readme.md index 90c35a0..d9a4729 100644 --- a/Readme.md +++ b/Readme.md @@ -15,3 +15,9 @@ It's a "one-shot" tool that's then orchestrated with a systemd timer or cron. - Follow the instructions in the example config to get your API key and put it in the config - Follow the examples in the config to set up which entries you want to update - Use `cargo run` to build and run the program + +> Warning! +> +> This tool does not rate limit itself, or otherwise do anything that limits how often it sends changes to Gandi's servers. +> It's up to you to use the tool properly and avoid abusing Gandi's servers. The tool is one-shot, so all you have to do is +> to avoid running it too often. \ No newline at end of file