Replies: 1 comment 1 reply
-
@prestwich do you have strong opinions on crate organization / naming? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the way the crates are organized right now, there is a lot of stuttering in the names. there are also multiple public paths to the same items, due to public re-exports alongside public modules. imo, we should adopt the "facade pattern", where the external interface to a user-exposed crate is defined in a single place using public re-exports of
pub(crate)
items. this keeps the interface clean, and also makes rustdoc beautiful. more information about the pattern is indexed here. the goal is to avoid useless sections in rustdoc that look like this:Beta Was this translation helpful? Give feedback.
All reactions