Crates.io | diesel_geometry |
lib.rs | diesel_geometry |
version | 1.4.0 |
source | src |
created_at | 2018-04-09 00:57:13.311675 |
updated_at | 2019-05-23 04:45:00.992723 |
description | Adds support for geometric types and functions to Diesel. |
homepage | |
repository | https://github.com/ThinkAlexandria/diesel_geometry |
max_upload_size | |
id | 59653 |
size | 53,210 |
API Documentation latest release
diesel_geometry
provides geometric types and geometric functions.
Licensed under either of these:
Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.
To run the integration tests on your machine, you need to have read and write access to a running instance of Postgres. The database is not permanently altered because all tests are wrapped in a single transaction that is rolled back.
When running cargo test set the environment variable PG_DATABASE_URL
with
the Postgres connection string for your database.
Example
You can start a Postgres database locally using docker with:
docker run -d --rm --name postgres -p 5432:5432 postgres:10
And then run:
PG_DATABASE_URL=postgres://postgres:postgres@localhost:5432 cargo test