Skip to content

WASI support #1452

Description

@Zykino

Hello,

I’m creating WASM plugins for zellij and I would love to have some ways to access dbus to send messages. At least for now I only have ideas to access dbus as a client (sending desktop notification when certains event happens, integrate a mpris-player-ctl so I can control the music from keybindings anywhere from my terminal, …).

I would love to find a library that could help. For now I’m relying on calling busctl and interpreting its json… which is not that good (and less portable than using an actual lib).

At first I though your lib was not usable since even your blocking interface require an async runtime, but at least tokio have some limited support for WASM: https://docs.rs/tokio/latest/tokio/#wasm-support.

Do you think this may happens someday? Or tokio’s support lack some crucial features?
On zellij’s side, I cannot guarantee full hard drive access, but I can point the "cwd" to whichever directory is needed, so it would be best if I could enter the unix socket’s I want to use instead of letting the lib decide for itself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions