dbus2 / zbus

Rust D-Bus crate.
Other
359 stars 82 forks source link

`proxy` macro should put blocking proxy in a mod #840

Closed zeenix closed 3 months ago

zeenix commented 3 months ago

Instead of naming the proxy differently (especially since we don't have a good name autogenerated), we should have the proxy create a module instead and keep the same name for both proxies.

This would be a breaking change though.

zeenix commented 3 months ago

Actually this was thought about before and the issue is that the default name would have to be generic (e.g blocking) and then it'll conflict if there are multiple proxies being generated in the same module. 😔