All checks were successful
release / build-release (push) Successful in 11m9s
Reset SIGPIPE to SIG_DFL at startup so writing to a closed stdout terminates the process quietly like normal Unix tools, instead of panicking with "failed printing to stdout: Broken pipe". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011YPrEZVBpPVoCRyJz2exkZ
33 lines
809 B
TOML
33 lines
809 B
TOML
[package]
|
|
name = "npmctl"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "CLI för Nginx Proxy Manager (NPM) med en generisk API-klient för framtidssäkring"
|
|
authors = ["brasse"]
|
|
license = "MIT"
|
|
repository = "https://gitea.brasse-pc.eu/brasse/Npm-cli"
|
|
|
|
[[bin]]
|
|
name = "npmctl"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rpassword = "7"
|
|
dirs = "5"
|
|
anyhow = "1"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|