pulse-binding-rust icon indicating copy to clipboard operation
pulse-binding-rust copied to clipboard

Add tokio bindings

Open danieldg opened this issue 3 years ago • 5 comments

Fixes #20

danieldg avatar May 08 '22 21:05 danieldg

@danieldg while I love the idea of upstreaming this awesome tokio PulseAudio mainloop into libpulse_binding, would you be open to publishing a separate crate for others (like me!) to be able to depend on it and use it?

From my perspective - and correct me if I'm wrong @jnqnfe - this crate seems to be more of a 1:1 binding between PulseAudio's APIs rather than "a bunch of rust tools and integrations for PulseAudio". So to me, a separate crate makes sense for what is essentially "a tokio implementation of a PulseAudio mainloop".

TL;DR: I would love it if the libpulse-tokio crate added in this PR could be published to crates.io. Whether that's by upstreaming here, or by publishing it separately.

acheronfail avatar May 07 '23 12:05 acheronfail

@acheronfail - I just published the current version of this branch. While it still has a few limitations, those can be fixed in future versions. I'd be open to adding the maintainers here to the crate if it was merged, so it could be maintained/released in lock-step.

danieldg avatar May 15 '23 01:05 danieldg

I just published the current version of this branch.

On crates.io? I couldn't find it.

MaxVerevkin avatar Nov 18 '23 17:11 MaxVerevkin

https://crates.io/crates/libpulse-tokio

danieldg avatar Nov 18 '23 18:11 danieldg

Thank you, I don't know why neither crates.io nor lib.rs could find it :(

MaxVerevkin avatar Nov 18 '23 18:11 MaxVerevkin