{"id":13735405,"url":"https://github.com/stac-utils/pgstac-rs","last_synced_at":"2025-12-15T16:31:14.908Z","repository":{"id":65186992,"uuid":"586295550","full_name":"stac-utils/pgstac-rs","owner":"stac-utils","description":"Rust interface to pgstac","archived":true,"fork":false,"pushed_at":"2024-04-27T22:30:59.000Z","size":60,"stargazers_count":9,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-04T03:04:52.728Z","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/stac-utils.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT","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}},"created_at":"2023-01-07T16:25:57.000Z","updated_at":"2024-04-27T22:31:23.000Z","dependencies_parsed_at":"2023-11-26T13:16:29.772Z","dependency_job_id":"e59898dd-97e6-41bc-90fe-93112b31f614","html_url":"https://github.com/stac-utils/pgstac-rs","commit_stats":{"total_commits":67,"total_committers":1,"mean_commits":67.0,"dds":0.0,"last_synced_commit":"62d15f1848f217353e382ce11abc9182d9283228"},"previous_names":["stac-utils/pgstac-rs","gadomski/pgstac-rs"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stac-utils%2Fpgstac-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stac-utils%2Fpgstac-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stac-utils%2Fpgstac-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stac-utils%2Fpgstac-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stac-utils","download_url":"https://codeload.github.com/stac-utils/pgstac-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224727181,"owners_count":17359532,"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-08-03T03:01:06.577Z","updated_at":"2025-12-15T16:31:14.858Z","avatar_url":"https://github.com/stac-utils.png","language":"Rust","funding_links":[],"categories":["`Python` processing of optical imagery (non deep learning)"],"sub_categories":["Cloud Native Geospatial"],"readme":"# pgstac-rs\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/stac-utils/pgstac-rs/ci.yml?branch=main\u0026style=for-the-badge)](https://github.com/stac-utils/pgstac-rs/actions/workflows/ci.yml)\n[![docs.rs](https://img.shields.io/docsrs/pgstac?style=for-the-badge)](https://docs.rs/pgstac/latest/pgstac/)\n[![Crates.io](https://img.shields.io/crates/v/pgstac?style=for-the-badge)](https://crates.io/crates/pgstac)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge)](./CODE_OF_CONDUCT)\n\n**This code in this repository has been moved to \u003chttps://github.com/stac-utils/stac-rs\u003e (\u003chttps://github.com/stac-utils/stac-rs/pull/246\u003e)***\n\nRust interface for [pgstac](https://github.com/stac-utils/pgstac).\n\n## Usage\n\nIn your `Cargo.toml`:\n\n```toml\n[dependencies]\npgstac = \"0.0.6\"\n```\n\nSee the [documentation](https://docs.rs/pgstac) for more.\n\n## Testing\n\n**pgstac-rs** needs a blank **pgstac** database for testing.\nThe repo comes with a [docker-compose](./docker-compose.yml) to run one.\nTo test:\n\n```shell\ndocker-compose up -d\ncargo test\ndocker-compose down\n```\n\nEach test is run in its own transaction, which is rolled back after the test.\n\n### Customizing the test database connection\n\nBy default, the tests will connect to the database at `postgresql://username:password@localhost:5432/postgis`.\nIf you need to customize the connection information for whatever reason, set your `PGSTAC_RS_TEST_DB` environment variable:\n\n```shell\nPGSTAC_RS_TEST_DB=postgresql://otherusername:otherpassword@otherhost:7822/otherdbname cargo test\n```\n\n## License\n\n**pgstac-rs** is dual-licensed under both the MIT license and the Apache license (Version 2.0).\nSee [LICENSE-APACHE](./LICENSE-APACHE) and [LICENSE-MIT](./LICENSE-MIT) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstac-utils%2Fpgstac-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstac-utils%2Fpgstac-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstac-utils%2Fpgstac-rs/lists"}