#open-gauss #sql #og

opengauss-types

Conversions between Rust and openGauss values

1 unstable release

0.1.0 Apr 19, 2023

#5 in #open-gauss

Download history 23/week @ 2024-02-15 25/week @ 2024-02-22 22/week @ 2024-02-29 13/week @ 2024-03-07 9/week @ 2024-03-14 6/week @ 2024-03-21 29/week @ 2024-03-28 22/week @ 2024-04-04 4/week @ 2024-04-11

62 downloads per month
Used in 4 crates (via tokio-opengauss)

MIT/Apache

215KB
5K SLoC

openGauss-connector-rust

openGauss support for Rust. This crate is forked from and based on Rust-Postgres.

opengauss Latest Version

Documentation

A native, synchronous openGauss client.

tokio-opengauss Latest Version

Documentation

A native, asynchronous openGauss client.

opengauss-types Latest Version

Documentation

Conversions between Rust and Postgres types.

opengauss-native-tls Latest Version

Documentation

TLS support for opengauss and tokio-opengauss via native-tls.

opengauss-openssl Latest Version

Documentation

TLS support for opengauss and tokio-opengauss via openssl.

Running test suite

The test suite requires openGauss to be running in the correct configuration. The easiest way to do this is with docker:

  1. Install docker and docker-compose.
    1. On centos and openEuler: sudo yum install docker docker-compose.
  2. Make sure your user has permissions for docker.
    1. On ubuntu: sudo usermod -aG docker $USER
  3. Change to top-level directory of openGauss-connector-rust repo.
  4. Run docker-compose up -d.
  5. Run cargo test.
  6. Run docker-compose stop.

Dependencies

~12–21MB
~442K SLoC