]> git.proxmox.com Git - pve-installer.git/commit
tui: check hvm support through runtime env info instead of open-coding
authorChristoph Heiss <c.heiss@proxmox.com>
Mon, 3 Jul 2023 07:35:00 +0000 (09:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jul 2023 13:48:02 +0000 (15:48 +0200)
commit636da45e9d07fdf4c12fb0d94f0adc8be16eca4f
tree3b259d60cdaf47de21e71f5bd2fc5225ace8cf6b
parent0efa2eed0314e217f4c947203048399f7180c21c
tui: check hvm support through runtime env info instead of open-coding

As the runtime environment now exports that info, use it. In turn, this
allows us to drop the dependency on `proxmox-sys`, as that check was its
only user.

The dependency graph drops from 107 to 88 crates from this, which
definitively is a nice change.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/Cargo.toml
proxmox-tui-installer/src/main.rs
proxmox-tui-installer/src/setup.rs