seadve / mpris-server Goto Github PK
View Code? Open in Web Editor NEWImplement MPRIS D-Bus interface in your application
Home Page: https://seadve.github.io/mpris-server/mpris_server/
License: Mozilla Public License 2.0
Implement MPRIS D-Bus interface in your application
Home Page: https://seadve.github.io/mpris-server/mpris_server/
License: Mozilla Public License 2.0
(First: thanks a ton for the crate, I'm using it in my music player and it's nice not having to think about this stuff myself :) )
Now that async fn in traits has landed in stable Rust, I think it's possible to have the FooInterface
traits use that instead of async_trait
. If you're fine with an MSRV bump, then this is easy, but if you want to gate them behind a feature flag it gets trickier; features aren't supposed to introduce incompatible changes, so the simple answer of "add a native_async_trait
feature that swaps them" doesn't work. You could have a macro_async_trait
and native_async_trait
features that are incompatible (with the first one enabled by default), or move the "native" ones into a separate submodule. I'm happy to do the actual implementation grunt work, but it's your library so I wanted to leave the design up to you.
Currently, user have to implement every functions on the trait.
Currently, we rely on zbus error types. We should implement our own so user won't have to import zbus, and make the error type clearer because zbus has one universal error type that has types that may not be relevant for some functions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.