Clone this repo:
git clone [email protected]:carderne/upid.git
cd upid/examples/rust
Get a Docker image running:
docker run --rm -e POSTGRES_PASSWORD=mypassword \
-p 5432:5432 --detach carderne/postgres-upid:16
Run the script:
cargo run
# Extension ready
# Table created
# Inserted:
# id_upid=user_2acqyewitnjij6oflrqzda
# id_uuid=01916f2b-8ecc-dee7-928b-8dedf9d61576
# id_text=user_2acqyewitnjij6oflrqzda