Minimize eventcore/src/lib.rs exports per ADR-030 #267
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/eventcore#267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Update
eventcore/src/lib.rsto export only the minimal public API defined in ADR-030.Parent Issue
Changes Required
Keep These Exports
executefunctionrun_projectionfunction (from projection module)ProjectionError(error type for run_projection)RetryPolicy,BackoffStrategy,ExecutionResponse,MetricsHook,RetryContextCommandderive macro (feature-gated)require!macroeventcore_postgres as postgres(feature-gated)Re-export from eventcore-types (Application Developer needs)
CommandLogic,CommandStreams,CommandErrorEvent,StreamId,StreamDeclarations,NewEvents,StreamResolverProjector,FailureContext,FailureStrategy,StreamPositionDelayMilliseconds,AttemptNumber(needed by RetryPolicy/RetryContext)Remove from Public API
eventcore-typesProjectionRunner- userun_projection()insteadPollMode,PollConfig,EventRetryConfig,NoCheckpointStoreMake Internal Only
Change
pub use projection::{...}to only exportrun_projectionandProjectionErrorAcceptance Criteria
cargo checkpassesClosing: Parent issue closed