Closed danieleades closed 1 year ago
These are used in some of the documentation in the persistence crates. I agree that this is ugly, I'm not sure of a better solution currently though without adding more duplication.
Combining all of the persistence crates would clear this up, but I don't know that that is a great idea at this time.
could they be moved to an examples/
directory, instead of directly in the source?
@davegarred I can move these modules into an example, but there's one catch- the persist/doc/
module depends on the crate-private persist::event_stream::ReplayStream
, so a user of the library couldn't implement these examples as is. Is this type meant to be public?
have drafted what that would look like here - #45
opening this PR to start discussion
what are the
doc/
modules for? Are they still required?