#money #cash #currency

postgres_money

A library to generate and parse Postgres money types

4 releases (2 breaking)

0.3.0 Aug 5, 2020
0.2.0 May 7, 2020
0.1.1 May 7, 2020
0.1.0 May 7, 2020

#278 in Finance

41 downloads per month
Used in elephantry

Custom license

27KB
701 lines

postgres_money

Documentation

Support for PostgreSQL money type

Originally intended for use in rust-postgres.


lib.rs:

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.3", features = ["serde"] }

Visit the docs for Money for more info.

Dependencies

~2–4MB
~83K SLoC