Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(zenoh-flow-nodes): expose common types in prelude #254

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

J-Loudet
Copy link
Contributor

@J-Loudet J-Loudet commented Jun 4, 2024

To create the Python bindings and re-expose these types in Python, accessing them was required.

By exposing them in the prelude of the zenoh-flow-nodes crate, users are not required to add a dependency on zenoh-flow-commons or uhlc.

  • zenoh-flow-nodes/src/lib.rs: expose in the prelude:
    • InstanceId,
    • NodeId,
    • RuntimeId,
    • uhlc::Timestamp.

To create the Python bindings and re-expose these types in Python,
accessing them was required.

By exposing them in the `prelude` of the `zenoh-flow-nodes` crate, users
are not required to add a dependency on `zenoh-flow-commons` or `uhlc`.

* zenoh-flow-nodes/src/lib.rs: expose in the prelude:
  - InstanceId,
  - NodeId,
  - RuntimeId,
  - uhlc::Timestamp.

Signed-off-by: Julien Loudet <[email protected]>
@J-Loudet J-Loudet merged commit 843533d into main Jun 4, 2024
9 checks passed
@J-Loudet J-Loudet deleted the fix/expose-common-types-prelude-zenoh-flow-nodes branch June 4, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant