#money #currency #cash

postgres_money

A library to generate and parse Postgres money types

6 releases (3 breaking)

0.4.1 Dec 1, 2024
0.4.0 Sep 3, 2024
0.3.0 Aug 5, 2020
0.2.0 May 7, 2020
0.1.1 May 7, 2020

#611 in Database interfaces


Used in elephantry

Custom license

27KB
701 lines

Dependencies

By default, this crate depends on the regex crate.

To activate JSON serialization via the serde crate, use syntax like:

[dependencies]
postgres_money = { version = "0.4.1", features = ["serde", "sql"] }

Visit the docs for Money for more info.


postgres_money

Documentation

Support for PostgreSQL money type

Originally intended for use in rust-postgres.

Dependencies

~2–4MB
~72K SLoC