Closed mulimoen closed 4 years ago
That looks good, thanks. I don't think pub mod sparse
would be a good idea, I think this current module hierarchy is an historical choice that's a bit unfortunate, ideally I'd want to have a cleaner module hierarchy. That's probably something that needs to be done in the future, though I'd probably like to convert the crate to the 2018 edition beforehand to benefit from the niceties of the more modern module syntax.
It seems some structures are not exported in the docs, which makes it hard to understand how they work, and which traits they implement.
It would be nice if such items were exported automatically, which they are if
pub mod sparse
is added to the topleve. But addingpub mod sparse
will addRe-exports
to all the type definitions on the toppage, which makes it difficult getting an overview. Is there a better way of handling this?