#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

#269 in Finance

Download history 48/week @ 2023-11-20 5/week @ 2024-01-22 2/week @ 2024-01-29 19/week @ 2024-02-26 40/week @ 2024-03-04

59 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.2–4MB
~84K SLoC