Replies: 2 comments
-
Starting feeling this out in this MR: #215 |
Beta Was this translation helpful? Give feedback.
0 replies
-
As I've worked on this I realize it is slightly more complicated to achieve the exact presentation I want. What I'd like is that users can directly depend on "roslibrust" with feature flags to enable specific backends (mock, ros1, rosbridge, zenoh). To prevent a circular dependency between roslibrust and the backend crates, the Traits for TopicProvider have to be declared in common ancestor crate. Updated plan is: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why?
a. Want to use roslibrust_codegen_macro, well the generated code assumes you also depend on roslibrust_codegen
b. Want to just use roslibrust_zenoh? Gotta depend on traits defined in roslibrust...
The new plan:
Ramifcations / API changes
roslibrust::rosbridge::ClientHandle
instead of roslibrust::ClientHandle`Eventually I'd like to provide roslibrust_mqtt and roslibrust_nats...
Beta Was this translation helpful? Give feedback.
All reactions