proxmox-backup/proxmox-backup-banner
Thomas Lamprecht 513d019ac3 issue banner: avoid depending on proxmox crate for hostname
While this slightly duplicates code we just do not profit from the
central, lazy static variant here, as that is only really useful in
daemons to avoid doing frequent syscalls there.

proxmox just pull in far to much (e.g., tokio) and duplicating that
one line of simple code has no real maintenance cost, so just go for
that and use the nix crate directly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-19 16:32:50 +02:00
..
src issue banner: avoid depending on proxmox crate for hostname 2021-07-19 16:32:50 +02:00
Cargo.toml issue banner: avoid depending on proxmox crate for hostname 2021-07-19 16:32:50 +02:00