Coder Social home page Coder Social logo

seadve / mpris-server Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 0.0 2.7 MB

Implement MPRIS D-Bus interface in your application

Home Page: https://seadve.github.io/mpris-server/mpris_server/

License: Mozilla Public License 2.0

Rust 100.00%
dbus mpris rust

mpris-server's People

Contributors

seadve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mpris-server's Issues

Use actual `async fn` for traits

(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.

Implement our own error types

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.