awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sfackler avatar

sfackler/rust-postgres

0
View on GitHub↗
3,945 星标·560 分支·Rust·Apache-2.0·6 次浏览

Rust Postgres

该项目是 Rust 编程语言的原生 PostgreSQL 数据库驱动程序。它作为一个类型安全的数据库映射器和连接器,提供同步和异步接口,用于针对 PostgreSQL 后端执行查询。

该库实现了一个类型安全映射系统,将 PostgreSQL 数据类型转换为 Rust 类型,确保数据传输过程中的一致性。它还充当加密数据库连接器,支持安全通信协议,以保护应用程序和数据库之间传输的数据。

该驱动程序涵盖了核心数据库功能,包括执行数据操作和管理安全数据库连接。

Features

  • PostgreSQL Database Clients - Acts as a native Rust client implementation providing connection management and SQL execution for PostgreSQL.
  • Asynchronous Database Drivers - Provides a non-blocking database driver to improve application performance and concurrency in Rust.
  • Data Type Mappings - Translates application-level Rust types into native PostgreSQL column formats.
  • PostgreSQL Connectors - Implements a specialized driver for establishing secure, encrypted connections to PostgreSQL instances.
  • Database Query Execution - Provides native drivers to execute SQL queries and retrieve or modify stored information.
  • Database Wire Protocol Implementations - Implements the PostgreSQL wire protocol to enable direct communication with the database server.
  • Rust Database Bindings - Provides native Rust language bindings and drivers for interacting with PostgreSQL databases.
  • Type-Safe Data Abstractions - Provides a consistent, type-safe API for mapping PostgreSQL data types into Rust types.
  • Type-Safe Database Clients - Ensures compile-time safety by generating strongly-typed interfaces for PostgreSQL data operations.
  • Dual-Mode Database Clients - Offers both synchronous and asynchronous interfaces for executing queries against PostgreSQL.
  • Database Type Traits - Employs Rust traits to map PostgreSQL data types to native language types for type-safe data transfer.
  • Wire Format Serialization - Converts structured data into the PostgreSQL binary wire format for high-performance network transmission.
  • Network I/O Multiplexing - Implements non-blocking socket operations to handle concurrent database requests efficiently.
  • Protocol State Machines - Uses a formal state machine to manage the connection lifecycle from authentication to query execution.
  • Database Connection Encryption - Secures the communication channel between the Rust client and PostgreSQL server using SSL/TLS.
  • TLS Session Wrapping - Wraps raw TCP streams with TLS to provide encrypted communication between the client and database.
  • Database Drivers - Driver for PostgreSQL databases.
  • Database Drivers - Rust database driver.

Star 历史

sfackler/rust-postgres 的 Star 历史图表sfackler/rust-postgres 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Rust Postgres 的开源替代方案

相似的开源项目,按与 Rust Postgres 的功能重合度排序。
  • brianc/node-postgresbrianc 的头像

    brianc/node-postgres

    13,155在 GitHub 上查看↗

    This project is a Node.js client for PostgreSQL databases, providing a protocol parser to translate raw binary streams into JavaScript objects. It serves as a driver for executing queries, managing data, and integrating Node.js applications with PostgreSQL backends. The library includes a connection pool manager to reduce network overhead by caching reusable connections and a result streamer that uses cursors to retrieve large datasets incrementally. It also functions as an event listener for subscribing to asynchronous server-side notifications to trigger real-time application events. Broad

    JavaScriptlibpqnode-postgrespostgres
    在 GitHub 上查看↗13,155
  • simolus3/driftsimolus3 的头像

    simolus3/drift

    3,231在 GitHub 上查看↗

    Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries

    Dartdartdart-build-systemflutter
    在 GitHub 上查看↗3,231
  • stephencelis/sqlite.swiftstephencelis 的头像

    stephencelis/SQLite.swift

    10,167在 GitHub 上查看↗

    SQLite.swift is a type-safe Swift wrapper and object-relational mapping layer that provides a bridge for interacting with SQLite databases. It functions as a database driver that allows for embedded database management and local data persistence within Swift applications. The project distinguishes itself through a type-safe expression builder that verifies SQL statement syntax and intent at compile time. It includes specialized support for high-performance text matching via full-text search integration and provides mechanisms for securing sensitive data through database encryption. The libra

    Swift
    在 GitHub 上查看↗10,167
  • npgsql/npgsqlnpgsql 的头像

    npgsql/npgsql

    3,702在 GitHub 上查看↗

    Npgsql is a .NET data provider and client library that enables applications to connect, execute queries, and manage data within PostgreSQL databases. It functions as a connection manager and translation layer between the application and the database server. The project features a connection manager capable of multi-host connectivity, providing load balancing and automatic failover across multiple servers. It includes specialized support for high-volume data import and export through bulk data operations and a mapping system that translates complex database types, such as arrays and JSON, into

    C#c-sharpdatabasedotnet
    在 GitHub 上查看↗3,702
查看 Rust Postgres 的所有 30 个替代方案→

常见问题解答

sfackler/rust-postgres 是做什么的?

该项目是 Rust 编程语言的原生 PostgreSQL 数据库驱动程序。它作为一个类型安全的数据库映射器和连接器,提供同步和异步接口,用于针对 PostgreSQL 后端执行查询。

sfackler/rust-postgres 的主要功能有哪些?

sfackler/rust-postgres 的主要功能包括:PostgreSQL Database Clients, Asynchronous Database Drivers, Data Type Mappings, PostgreSQL Connectors, Database Query Execution, Database Wire Protocol Implementations, Rust Database Bindings, Type-Safe Data Abstractions。

sfackler/rust-postgres 有哪些开源替代品?

sfackler/rust-postgres 的开源替代品包括: brianc/node-postgres — This project is a Node.js client for PostgreSQL databases, providing a protocol parser to translate raw binary streams… simolus3/drift — Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database… stephencelis/sqlite.swift — SQLite.swift is a type-safe Swift wrapper and object-relational mapping layer that provides a bridge for interacting… npgsql/npgsql — Npgsql is a .NET data provider and client library that enables applications to connect, execute queries, and manage… lib/pq — pq is a PostgreSQL driver for Go that implements the standard database/sql interface. It serves as a connection… jackc/pgx — This project is a database driver and interface for the Go programming language, specifically designed for PostgreSQL.…