{"repo":"guibeira/datastore-emulator","free":true,"listed":false,"github":"https://github.com/guibeira/datastore-emulator","clone":"git clone https://github.com/guibeira/datastore-emulator.git","description":"Rewrite of datastore emulator in Rust 🦀","language":"Rust","stars":14,"topics":["datastore","grpc","rust","tokio","tonic","database","datastore-emulator","google"],"license":"MIT","category":"databases-storage","readme_excerpt":"Datastore Emulator in Rust This project is a custom implementation of the Google Cloud Datastore emulator, written in Rust. It is designed to be a lightweight, high-performance alternative to the official Google emulator for local development and testing. The repository includes a comprehensive test suite that runs against both this custom emulator and the official Google Datastore emulator to ensure a high degree of API compatibility. Features Core Datastore API : Supports standard gRPC operations like Lookup , RunQuery , and Commit . Mutations : Full support for Insert , Update , Upsert , and Delete operations. Transactions : Implements BeginTransaction , Commit , and Rollback . Querying : Supports property filters ( = , != , , etc.) and composite filters. Aggregation Queries : Supports COUNT , SUM , and AVG aggregations. ID Management : Implements AllocateIds and ReserveIds . Data Import : An HTTP endpoint to import data from official Datastore exports. HTTP REST API : Implements the public Google Datastore REST API v1 at POST /v1/projects/{projectId}:{method} for lookup , runQuery , runAggregationQuery , commit , beginTransaction , rollback , allocateIds , reserveIds , and import ( export currently returns 501 Not Implemented ). Browser clients are supported via permissive CORS. How to use Using Cargo Make sure you have Rust and Cargo installed on your system. You can install the Rust toolchain by following the instructions at rustup.rs. Then, you can install the Rust Dat","default_branch":null,"files":null,"tree":[],"storefront":"/r/guibeira","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guibeira/datastore-emulator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}