daemonize is added to unix
This commit is contained in:
parent
46536fc587
commit
de8bf7cd31
@ -35,11 +35,12 @@ rustls-pemfile = "2.2.0"
|
||||
clap = { version = "4.5.60", features = ["derive", "env"] }
|
||||
rpassword = "7.4.0"
|
||||
serde_json = "1.0.149"
|
||||
daemonize = "0.5.0"
|
||||
# rolling-file = { path = "../rolling-file" }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = "0.2.178"
|
||||
daemonize = "0.5.0"
|
||||
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
wintun = "0.4.0"
|
||||
|
||||
@ -59,6 +59,7 @@ where T: Serialize,
|
||||
{
|
||||
|
||||
let client = Client::new();
|
||||
|
||||
let Ok(response) = client
|
||||
.post(url)
|
||||
.json(&data)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user