]> git.proxmox.com Git - proxmox-backup.git/commit
tokio: adapt to 1.0 runtime changes
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 4 Dec 2020 08:42:23 +0000 (09:42 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 14 Jan 2021 15:01:33 +0000 (16:01 +0100)
commit5c852d5b829c571157f262c2c64b6ea907b75f8e
treecdeb4f451401c11b25f7eaf014c89f887b97eb46
parent484172b5f85c0c881d8dbc55dd7a8fd165435632
tokio: adapt to 1.0 runtime changes

enter() now returns a guard, and the builder got revamped to make the
choice between MT and current thread explicit.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/tools/runtime.rs