openGauss-connector-rust:基于 Rust 生态的 openGauss 客户端项目

用户可使用该项目在 Rust 应用中连接和操作 openGauss 数据库。提供同步和异步客户端,支持类型转换及通过 native-tls/openssl 实现 TLS 安全连接。【此简介由AI生成】

Branch1Tags1

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.

Introduction

用户可使用该项目在 Rust 应用中连接和操作 openGauss 数据库。提供同步和异步客户端,支持类型转换及通过 native-tls/openssl 实现 TLS 安全连接。【此简介由AI生成】

Customize my domain