You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dbus crate uses libdbus and thus makes it hard to create portable or statically compiled binaries. It would be very nice if the mpris crate could be used without C dependencies.
There are now several alternative crates for implementing dbus clients. For example, here is a list (including benchmarks). Maybe this crate could use one of those instead?
The text was updated successfully, but these errors were encountered:
Very nice. I'm glad the ecosystem has expanded since I started working on this.
I agree. I might experiment a bit with this some time.
Does it make sense to have the backend pluggable using feature flags, or would it be better that we just pick one and use that one to not over-engineer anything?
Cool! Personally, I don't see any advantages in having a pluggable backend. Sounds like much work for probably no gain in practice.
(Disclaimer, I am pretty new to Rust and not yet skilled in the language's best practices. So my opinion in this case is probably not of the highest value.)
Does it make sense to have the backend pluggable using feature flags, or would it be better that we just pick one and use that one to not over-engineer anything?
I've run into situations where I felt forced into choosing one implementation because the alternative was having two D-Bus implementations in the same binary. I could easily imagine myself running into a situation where I have no choice because two crates have decided they don't need feature flags and chose different implementations.
The dbus crate uses libdbus and thus makes it hard to create portable or statically compiled binaries. It would be very nice if the mpris crate could be used without C dependencies.
There are now several alternative crates for implementing dbus clients. For example, here is a list (including benchmarks). Maybe this crate could use one of those instead?
The text was updated successfully, but these errors were encountered: