]> git.proxmox.com Git - pve-xtermjs.git/commit
use anyhow for result/error
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 26 Jan 2022 17:56:16 +0000 (18:56 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 Jan 2022 08:16:59 +0000 (09:16 +0100)
commitcfa75e79d7e2548ac19d826dbeddca1cc14dc97a
tree1999c3b58bf5027c19f80f457a1631d929990ddc
parent7a03b1a956e6e227b8d7b9e7662af4a7023c6c8f
use anyhow for result/error

it's in out dependency chain anyway through proxmox-sys or -time and
it makes life a bit easier. FWIW, I got slightly pressured into this
by the future switch from curl to ureq, as the latter brings their
own Error type.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
Cargo.toml
src/main.rs