Update to forked die-exit to this can be published on crates.io

This commit is contained in:
Kaan Barmore-Genç 2022-11-13 16:16:48 -05:00
parent 985ce8ea5c
commit 1250e512f9
Signed by: kaan
GPG key ID: B2E280771CD62FCF
3 changed files with 12 additions and 7 deletions

9
Cargo.lock generated
View file

@ -416,9 +416,10 @@ dependencies = [
]
[[package]]
name = "die-exit"
version = "0.3.3"
source = "git+https://github.com/Xavientois/die.git?rev=31d3801f4e21654b0b28430987b1e21fc7728676#31d3801f4e21654b0b28430987b1e21fc7728676"
name = "die-exit-2"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e9ac3d64c794ef4965e2efc9f9eb3c815f40201a25fe47ee19c0801ec428b7c"
[[package]]
name = "diff"
@ -665,7 +666,7 @@ dependencies = [
"anyhow",
"async-trait",
"clap",
"die-exit",
"die-exit-2",
"directories",
"futures",
"governor",

View file

@ -6,6 +6,7 @@ edition = "2021"
authors = ["Kaan Barmore-Genç <kaan@bgenc.net>"]
license = "MIT"
readme = "Readme.md"
repository = "https://github.com/SeriousBug/gandi-live-dns-rust"
[profile.release]
strip = "symbols"
@ -31,9 +32,12 @@ futures = "0.3"
anyhow = "1.0"
governor = "0.5"
async-trait = "0.1"
# 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" }
die-exit-2 = "0.4"
[dev-dependencies]
httpmock = "0.6"
regex = "1.6"
[dev-dependencies.die-exit-2]
version = "0.4"
features = ["test"]

View file

@ -14,7 +14,7 @@ mod config;
mod gandi;
mod ip_source;
mod opts;
use die_exit::*;
use die_exit_2::*;
use governor;
/// 30 requests per minute, see https://api.gandi.net/docs/reference/