You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All zenoh modules in lib.rs are exported as public (pub mod session, etc)
Module prelude and root lib.rs reexports some of entities, but not all of them. This makes not clear for user what to import. Rust-analyzer shows multiple pieces of advice for same name.
I think to make things in order it makes sense to do these steps:
in "lib.rs" remove all pub from mod declarations
explicitly reexport public API from single place (prelude and lib.rs)
This will make API observable when looking at sources
The text was updated successfully, but these errors were encountered:
Describe the release item
All zenoh modules in lib.rs are exported as public (
pub mod session
, etc)Module
prelude
and root lib.rs reexports some of entities, but not all of them. This makes not clear for user what to import. Rust-analyzer shows multiple pieces of advice for same name.I think to make things in order it makes sense to do these steps:
pub
frommod
declarationsThis will make API observable when looking at sources
The text was updated successfully, but these errors were encountered: