#money #currency #cash

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

#3 in #cash


Used in elephantry

Custom license

26KB
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

~1–2MB
~54K SLoC