pg_bigdecimal 0.1.5

Postgres' numeric <=> Rust's BigDecimal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

d=`
docker run -d \
    -p 15432:5432 \
    -e POSTGRES_PASSWORD=test \
    -e POSTGRES_USER=test \
    -e POSTGRES_DB=test \
    postgres`
[ $? -ne 0 ] && exit 1;

DB_SETUP=3s
echo "waiting for db setup for $DB_SETUP.."
sleep $DB_SETUP

cargo test

docker kill "$d" >/dev/null