{"id":23189519,"url":"https://github.com/champii/reactive-postgres-rs","last_synced_at":"2025-08-30T04:08:35.855Z","repository":{"id":65671083,"uuid":"557050982","full_name":"Champii/reactive-postgres-rs","owner":"Champii","description":"Reactive layer over PostgreSQL in Rust","archived":false,"fork":false,"pushed_at":"2023-02-03T13:04:28.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-30T04:08:12.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Champii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-25T01:50:11.000Z","updated_at":"2023-01-10T15:04:47.000Z","dependencies_parsed_at":"2023-02-18T07:15:36.351Z","dependency_job_id":null,"html_url":"https://github.com/Champii/reactive-postgres-rs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Champii/reactive-postgres-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Freactive-postgres-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Freactive-postgres-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Freactive-postgres-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Freactive-postgres-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Champii","download_url":"https://codeload.github.com/Champii/reactive-postgres-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Freactive-postgres-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272800970,"owners_count":24995187,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-18T11:19:51.746Z","updated_at":"2025-08-30T04:08:35.810Z","avatar_url":"https://github.com/Champii.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reactive PostgreSQL for Rust\n\nWatch your queries results change as new rows are inserted/updated/deleted\n\nWork in progress\n\nThis little example connects to localhost as user postgres. This will be configurable.\n\n```rust\nuse reactive_pg::*;\nuse serde::{Deserialize, Serialize};\n\n#[derive(Serialize, Deserialize, Debug)]\nstruct Foo {\n    id: i32,\n    name: String,\n}\n\n#[tokio::main]\nasync fn main() {\n    \"SELECT * from foo where id \u003c 10\"\n        .watch::\u003cFoo\u003e(|event| println!(\"{:#?}\", event))\n        .await\n\t.await // \u003c- The second await will block until the connection is dropped\n\t.unwrap();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchampii%2Freactive-postgres-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchampii%2Freactive-postgres-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchampii%2Freactive-postgres-rs/lists"}