mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-12-27 07:39:57 -06:00
Update to forked die-exit to this can be published on crates.io
This commit is contained in:
parent
985ce8ea5c
commit
1250e512f9
9
Cargo.lock
generated
9
Cargo.lock
generated
|
@ -416,9 +416,10 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "die-exit"
|
name = "die-exit-2"
|
||||||
version = "0.3.3"
|
version = "0.4.0"
|
||||||
source = "git+https://github.com/Xavientois/die.git?rev=31d3801f4e21654b0b28430987b1e21fc7728676#31d3801f4e21654b0b28430987b1e21fc7728676"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "3e9ac3d64c794ef4965e2efc9f9eb3c815f40201a25fe47ee19c0801ec428b7c"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "diff"
|
name = "diff"
|
||||||
|
@ -665,7 +666,7 @@ dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"clap",
|
"clap",
|
||||||
"die-exit",
|
"die-exit-2",
|
||||||
"directories",
|
"directories",
|
||||||
"futures",
|
"futures",
|
||||||
"governor",
|
"governor",
|
||||||
|
|
|
@ -6,6 +6,7 @@ edition = "2021"
|
||||||
authors = ["Kaan Barmore-Genç <kaan@bgenc.net>"]
|
authors = ["Kaan Barmore-Genç <kaan@bgenc.net>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "Readme.md"
|
readme = "Readme.md"
|
||||||
|
repository = "https://github.com/SeriousBug/gandi-live-dns-rust"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
strip = "symbols"
|
strip = "symbols"
|
||||||
|
@ -31,9 +32,12 @@ futures = "0.3"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
governor = "0.5"
|
governor = "0.5"
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
# TODO: Relies on a yet-unreleased interface. Switch to an actual crate release once available
|
die-exit-2 = "0.4"
|
||||||
die-exit = { git = "https://github.com/Xavientois/die.git", rev = "31d3801f4e21654b0b28430987b1e21fc7728676" }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
httpmock = "0.6"
|
httpmock = "0.6"
|
||||||
regex = "1.6"
|
regex = "1.6"
|
||||||
|
|
||||||
|
[dev-dependencies.die-exit-2]
|
||||||
|
version = "0.4"
|
||||||
|
features = ["test"]
|
||||||
|
|
|
@ -14,7 +14,7 @@ mod config;
|
||||||
mod gandi;
|
mod gandi;
|
||||||
mod ip_source;
|
mod ip_source;
|
||||||
mod opts;
|
mod opts;
|
||||||
use die_exit::*;
|
use die_exit_2::*;
|
||||||
use governor;
|
use governor;
|
||||||
|
|
||||||
/// 30 requests per minute, see https://api.gandi.net/docs/reference/
|
/// 30 requests per minute, see https://api.gandi.net/docs/reference/
|
||||||
|
|
Loading…
Reference in a new issue