Skip to content

Add ability to use multiple async runtime #14

@AS1100K

Description

@AS1100K

Currently, bevy-discord uses tokio runtime as it's default runtime.

One crazy thing that this crate does it, it creates, tokio runtime if not available runtime.rs. I am currently thinking, if this is a good idea or not as libraries should not do that. Any feedback is welcome here.

I was wondering, why not we should support async runtimes like tokio, bevy tasks, etc. Or an another way to deal with this. The problem we face is discord-sdk depends on tokio runtime. The solution here could be using bindgen crate and creating a safe wrapper around it which would integrate well with this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions