Skip to content

Feature: thread 'main' panicked without tokio runtime #3

@dmgolembiowski

Description

@dmgolembiowski

TL;DR

If this crate is used by another which either defers initialization on the tokio runtime, or does not use one at all, it panics. It does this during the invocation .spawn_signal_handler() .

Workaround

Spawn a tokio runtime using the tokio::main proc macro or using tokio::runtime::Builder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions