Skip to content

Conversation

@Himmelschmidt
Copy link
Contributor

Summary

  • Adds SqlTimestamp trait for datetime abstraction
  • Enables optional time crate support alongside default chrono

Ref: #649

Remove chrono dependency from apalis-sql and introduce a generic
SqlTimestamp trait. This allows downstream crates (apalis-postgres,
apalis-mysql, apalis-sqlite) to choose their own datetime library
(chrono or time) without apalis-sql being opinionated.

TaskRow is now generic over T: SqlTimestamp, enabling each SQL backend
to use its preferred datetime type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant