Skip to content

Make Chrono opt-in and add Jiff 1.0 support - #491

Draft
sunng87 wants to merge 1 commit into
masterfrom
feature/optional-jiff
Draft

sunng87 wants to merge 1 commit into
masterfrom
feature/optional-jiff

Conversation

@sunng87

@sunng87 sunng87 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove Chrono type support from the default features. Users can still enable pg-type-chrono explicitly, as the GlueSQL example and integration test server now do.
  • Add pg-type-jiff for Jiff 1.0 text and binary support for PostgreSQL DATE, TIME, TIMESTAMP, and TIMESTAMPTZ.
  • Add round-trip tests and CI coverage for the optional date and time types.

Before release

Replace the temporary postgres-types patch pinned to rust-postgres/rust-postgres#1405 with a published release that provides with-jiff-1.

Validation

  • cargo test --features pg-type-postgis
  • cargo test --lib --no-default-features --features server-api,pg-type-jiff
  • cargo test --lib --no-default-features --features server-api,pg-type-chrono,pg-type-jiff
  • Clippy with both optional date/time features, formatting, and checks for the integration test server and GlueSQL example.

@sunng87 sunng87 linked an issue Nov 18, 2026 that may be closed by this pull request
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.

chrono is unmaintained

1 participant