Skip to content

Conversation

@Himmelschmidt
Copy link

Summary

  • Adds PgDateTime wrapper implementing SqlTimestamp trait
  • Enables optional time crate support alongside default chrono

Ref: apalis-dev/apalis#649, apalis-dev/apalis#654

Add PgDateTime wrapper type that supports both chrono and time crates
via feature flags, allowing users to choose their preferred datetime
library.

Changes:
- Add src/timestamp.rs with PgDateTime wrapper implementing SqlTimestamp
- Add `chrono` and `time` feature flags (chrono enabled by default)
- Make chrono optional, add time as optional dependency
- Update all source files to use PgDateTime and RawDateTime types
- Remove get_queue() implementations (removed from BackendExt trait)
- Update TaskResult to use simplified type signature
- Use path dependencies for local apalis-core/apalis-sql development
@Himmelschmidt Himmelschmidt marked this pull request as draft December 26, 2025 01:57
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