{"id":13439072,"url":"https://github.com/sfackler/rust-postgres","last_synced_at":"2025-05-13T15:02:10.251Z","repository":{"id":9660790,"uuid":"11599760","full_name":"sfackler/rust-postgres","owner":"sfackler","description":"Native PostgreSQL driver for the Rust programming language","archived":false,"fork":false,"pushed_at":"2025-04-11T23:21:47.000Z","size":5090,"stargazers_count":3673,"open_issues_count":143,"forks_count":478,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-05-05T22:15:42.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sfackler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["sfackler"]}},"created_at":"2013-07-23T04:43:50.000Z","updated_at":"2025-05-05T20:07:26.000Z","dependencies_parsed_at":"2023-02-11T23:16:54.297Z","dependency_job_id":"89ed644d-a9bf-4461-8856-8d160b2fa6a1","html_url":"https://github.com/sfackler/rust-postgres","commit_stats":{"total_commits":2437,"total_committers":130,"mean_commits":"18.746153846153845","dds":"0.14238818219121874","last_synced_commit":"8b9b5d0388c8961c44b7c107eaa626c24a0b3051"},"previous_names":[],"tags_count":211,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfackler%2Frust-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfackler%2Frust-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfackler%2Frust-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfackler%2Frust-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sfackler","download_url":"https://codeload.github.com/sfackler/rust-postgres/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253967977,"owners_count":21992252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:01:10.895Z","updated_at":"2025-05-13T15:02:10.208Z","avatar_url":"https://github.com/sfackler.png","language":"Rust","readme":"# Rust-Postgres\n\nPostgreSQL support for Rust.\n\n## postgres [![Latest Version](https://img.shields.io/crates/v/postgres.svg)](https://crates.io/crates/postgres)\n\n[Documentation](https://docs.rs/postgres)\n\nA native, synchronous PostgreSQL client.\n\n## tokio-postgres [![Latest Version](https://img.shields.io/crates/v/tokio-postgres.svg)](https://crates.io/crates/tokio-postgres)\n\n[Documentation](https://docs.rs/tokio-postgres)\n\nA native, asynchronous PostgreSQL client.\n\n## postgres-types [![Latest Version](https://img.shields.io/crates/v/postgres-types.svg)](https://crates.io/crates/postgres-types)\n\n[Documentation](https://docs.rs/postgres-types)\n\nConversions between Rust and Postgres types.\n\n## postgres-native-tls [![Latest Version](https://img.shields.io/crates/v/postgres-native-tls.svg)](https://crates.io/crates/postgres-native-tls)\n\n[Documentation](https://docs.rs/postgres-native-tls)\n\nTLS support for postgres and tokio-postgres via native-tls.\n\n## postgres-openssl [![Latest Version](https://img.shields.io/crates/v/postgres-openssl.svg)](https://crates.io/crates/postgres-openssl)\n\n[Documentation](https://docs.rs/postgres-openssl)\n\nTLS support for postgres and tokio-postgres via openssl.\n\n# Running test suite\n\nThe test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:\n\n1. Install `docker` and `docker-compose`.\n   1. On ubuntu: `sudo apt install docker.io docker-compose`.\n1. Make sure your user has permissions for docker.\n   1. On ubuntu: ``sudo usermod -aG docker $USER``\n1. Change to top-level directory of `rust-postgres` repo.\n1. Run `docker-compose up -d`.\n1. Run `cargo test`.\n1. Run `docker-compose stop`.\n","funding_links":["https://github.com/sponsors/sfackler"],"categories":["Libraries","Rust","代码","库 Libraries","库","others","Compiled list","Drivers","Language bindings"],"sub_categories":["Database","数据库","数据库 Database","plv8:","Rust"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfackler%2Frust-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsfackler%2Frust-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfackler%2Frust-postgres/lists"}