#date-time #postgresql #date #time #timestamp #interval

pgdatetime

SQL date/time types written in Rust, compatible with PostgreSQL's date/time types

3 releases (breaking)

0.3.0 Oct 28, 2020
0.2.0 Jul 6, 2020
0.1.0 Jun 3, 2020

#790 in Database interfaces

Download history 23/week @ 2024-02-23 19/week @ 2024-03-01 17/week @ 2024-03-08 11/week @ 2024-03-15

70 downloads per month

Apache-2.0

390KB
8K SLoC

pgdatetime

Apache-2.0 licensed Crate API

SQL date/time types written in Rust, compatible with PostgreSQL's date/time types.

See also: Date/Time Types

Optional features

serde

When this optional dependency is enabled, Date, Time, Timestamp and Interval implement the serde::Serialize and serde::Deserialize traits.

License

This project is licensed under the Apache-2.0 license (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in pgdatetime by you, shall be licensed as Apache-2.0, without any additional terms or conditions.


lib.rs:

SQL date/time types written in Rust, compatible with PostgreSQL's date/time types.

Optional features

serde

When this optional dependency is enabled, Date, Time, Timestamp and Interval implement the serde::Serialize and serde::Deserialize traits.

Dependencies