Compare commits

..

No commits in common. "8de12c45cf2709fd50e3d40777d72787a5e46d60" and "68af29f76587698dd125866b5ca26ba653119483" have entirely different histories.

3 changed files with 2 additions and 13 deletions

9
Cargo.lock generated
View file

@ -288,20 +288,13 @@ version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
[[package]]
name = "sd-notify"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4646d6f919800cd25c50edb49438a1381e2cd4833c027e75e8897981c50b8b5e"
[[package]]
name = "secrets-file-builder"
version = "0.4.0"
version = "0.3.0"
dependencies = [
"anyhow",
"clap",
"handlebars",
"sd-notify",
"serde_json",
"url-escape",
]

View file

@ -1,6 +1,6 @@
[package]
name = "secrets-file-builder"
version = "0.4.0"
version = "0.3.0"
edition = "2021"
authors = ["networkException <git@nwex.de>"]
license = "BSD-2-Clause"
@ -12,6 +12,5 @@ repository = "https://git.nwex.de/networkException/secrets-file-builder"
anyhow = "1.0.88"
clap = { version = "4.5.17", features = ["derive"] }
handlebars = "5.1.0"
sd-notify = "0.4.2"
serde_json = "1.0.114"
url-escape = "0.1.1"

View file

@ -6,7 +6,6 @@ use std::thread;
use anyhow::Result;
use clap::Parser;
use sd_notify::NotifyState;
use serde_json::{Map, Value};
use url_escape;
@ -99,8 +98,6 @@ fn main() -> Result<()> {
fs::write(&output_path, output)
.expect(format!("To be able to write to '{}'", output_path.to_string_lossy()).as_str());
sd_notify::notify(true, &[NotifyState::Ready])?;
if idle {
loop {
thread::park();