rust-postgres
所属分类:collect
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-06-19 01:57:30
上 传 者:
sh-1993
说明: Rust编程语言的本机PostgreSQL驱动程序,
(Native PostgreSQL driver for the Rust programming language,)
文件列表:
Cargo.toml (272, 2023-12-11)
LICENSE-APACHE (10847, 2023-12-11)
LICENSE-MIT (1082, 2023-12-11)
THIRD_PARTY (1380, 2023-12-11)
codegen/ (0, 2023-12-11)
codegen/Cargo.toml (194, 2023-12-11)
codegen/src/ (0, 2023-12-11)
codegen/src/errcodes.txt (33458, 2023-12-11)
codegen/src/main.rs (660, 2023-12-11)
codegen/src/pg_range.dat (1543, 2023-12-11)
codegen/src/pg_type.dat (39017, 2023-12-11)
codegen/src/sqlstate.rs (3409, 2023-12-11)
codegen/src/type_gen.rs (10744, 2023-12-11)
docker-compose.yml (222, 2023-12-11)
docker/ (0, 2023-12-11)
docker/sql_setup.sh (4861, 2023-12-11)
postgres-derive-test/ (0, 2023-12-11)
postgres-derive-test/Cargo.toml (270, 2023-12-11)
postgres-derive-test/src/ (0, 2023-12-11)
postgres-derive-test/src/compile-fail/ (0, 2023-12-11)
postgres-derive-test/src/compile-fail/invalid-allow-mismatch.rs (702, 2023-12-11)
postgres-derive-test/src/compile-fail/invalid-allow-mismatch.stderr (1471, 2023-12-11)
postgres-derive-test/src/compile-fail/invalid-transparent.rs (638, 2023-12-11)
postgres-derive-test/src/compile-fail/invalid-transparent.stderr (1555, 2023-12-11)
postgres-derive-test/src/compile-fail/invalid-types.rs (332, 2023-12-11)
postgres-derive-test/src/compile-fail/invalid-types.stderr (997, 2023-12-11)
postgres-derive-test/src/compile-fail/unknown-override.rs (194, 2023-12-11)
postgres-derive-test/src/compile-fail/unknown-override.stderr (228, 2023-12-11)
postgres-derive-test/src/composites.rs (8492, 2023-12-11)
postgres-derive-test/src/domains.rs (3031, 2023-12-11)
postgres-derive-test/src/enums.rs (5323, 2023-12-11)
postgres-derive-test/src/lib.rs (1518, 2023-12-11)
postgres-derive-test/src/transparent.rs (456, 2023-12-11)
postgres-derive/ (0, 2023-12-11)
... ...
# Rust-Postgres
PostgreSQL support for Rust.
## postgres [![Latest Version](https://img.shields.io/crates/v/postgres.svg)](https://crates.io/crates/postgres)
[Documentation](https://docs.rs/postgres)
A native, synchronous PostgreSQL client.
## tokio-postgres [![Latest Version](https://img.shields.io/crates/v/tokio-postgres.svg)](https://crates.io/crates/tokio-postgres)
[Documentation](https://docs.rs/tokio-postgres)
A native, asynchronous PostgreSQL client.
## postgres-types [![Latest Version](https://img.shields.io/crates/v/postgres-types.svg)](https://crates.io/crates/postgres-types)
[Documentation](https://docs.rs/postgres-types)
Conversions between Rust and Postgres types.
## postgres-native-tls [![Latest Version](https://img.shields.io/crates/v/postgres-native-tls.svg)](https://crates.io/crates/postgres-native-tls)
[Documentation](https://docs.rs/postgres-native-tls)
TLS support for postgres and tokio-postgres via native-tls.
## postgres-openssl [![Latest Version](https://img.shields.io/crates/v/postgres-openssl.svg)](https://crates.io/crates/postgres-openssl)
[Documentation](https://docs.rs/postgres-openssl)
TLS support for postgres and tokio-postgres via openssl.
# Running test suite
The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:
1. Install `docker` and `docker-compose`.
1. On ubuntu: `sudo apt install docker.io docker-compose`.
1. Make sure your user has permissions for docker.
1. On ubuntu: ``sudo usermod -aG docker $USER``
1. Change to top-level directory of `rust-postgres` repo.
1. Run `docker-compose up -d`.
1. Run `cargo test`.
1. Run `docker-compose stop`.
近期下载者:
相关文件:
收藏者: