#date #timestamp #time #interval #postgres

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

#78 in Date and time

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