{"id":26745680,"url":"https://github.com/afaanbilal/hyperdb-rs","last_synced_at":"2025-08-01T23:39:10.088Z","repository":{"id":65352048,"uuid":"590795374","full_name":"AfaanBilal/hyperdb-rs","owner":"AfaanBilal","description":"HyperDB Rust is a Rust crate for the HyperDB server.","archived":false,"fork":false,"pushed_at":"2023-01-19T16:57:09.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T00:45:41.998Z","etag":null,"topics":["crate","hyperdb","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/hyperdb-rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AfaanBilal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-19T08:19:42.000Z","updated_at":"2023-01-19T09:01:33.000Z","dependencies_parsed_at":"2023-02-11T11:00:36.432Z","dependency_job_id":null,"html_url":"https://github.com/AfaanBilal/hyperdb-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AfaanBilal/hyperdb-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfaanBilal%2Fhyperdb-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfaanBilal%2Fhyperdb-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfaanBilal%2Fhyperdb-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfaanBilal%2Fhyperdb-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AfaanBilal","download_url":"https://codeload.github.com/AfaanBilal/hyperdb-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfaanBilal%2Fhyperdb-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268313869,"owners_count":24230870,"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-01T02:00:08.611Z","response_time":67,"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":["crate","hyperdb","rust"],"created_at":"2025-03-28T08:18:16.587Z","updated_at":"2025-08-01T23:39:10.029Z","avatar_url":"https://github.com/AfaanBilal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"HyperDB Rust Client\n===================\n\nAuthor: **[Afaan Bilal](https://afaan.dev)**\n\n## Introduction\n**HyperDB Rust** is a Rust client crate for the [HyperDB server](https://github.com/AfaanBilal/hyperdb).\n\n## Installation\n````\ncargo add hyperdb-rs\n````\n\n## Example usage\n````rs\nuse hyperdb_rs;\n\nlet mut hyper = hyperdb_rs::HyperClient::new(String::from(\"http://localhost:8765\"));\n\n// Ping the server\nlet mut r = hyper.ping().expect(\"failed\");\nprintln!(\"{}\", r); // PONG\n\n// Get the version number\nr = hyper.version().expect(\"failed\");\nprintln!(\"{}\", r); // \"[HyperDB v0.2.0 (https://afaan.dev)]\"\n\n// Set a value\nr = hyper.set(\"test\", \"value\").expect(\"failed\");\nprintln!(\"{}\", r); // value\n\n// Check if a key is present\nr = hyper.has(\"test\").expect(\"failed\");\nprintln!(\"{}\", r); // YES\n\n// Get a value\nr = hyper.get(\"test\").expect(\"failed\");\nprintln!(\"{}\", r); // value\n\n// Get all stored data\nr = hyper.all().expect(\"failed\");\nprintln!(\"{}\", r); // {\"test\": \"value\"}\n\n// Remove a key\nr = hyper.delete(\"test\").expect(\"failed\");\nprintln!(\"{}\", r); // OK\n\n// Delete all stored data\nr = hyper.clear().expect(\"failed\");\nprintln!(\"{}\", r); // OK\n\n// Check if the store is empty\nr = hyper.empty().expect(\"failed\");\nprintln!(\"{}\", r); // YES\n\n// Persist the store to disk\nr = hyper.save().expect(\"failed\");\nprintln!(\"{}\", r); // OK\n\n// Reload the store from disk\nr = hyper.reload().expect(\"failed\");\nprintln!(\"{}\", r); // OK\n\n// Delete all store data from memory and disk\nr = hyper.reset().expect(\"failed\");\nprintln!(\"{}\", r); // OK\n````\n\n## Test\n````\ncargo test\n````\n\n## Contributing\nAll contributions are welcome. Please create an issue first for any feature request\nor bug. Then fork the repository, create a branch and make any changes to fix the bug\nor add the feature and create a pull request. That's it!\nThanks!\n\n## License\n**HyperDB Rust** is released under the MIT License.\nCheck out the full license [here](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafaanbilal%2Fhyperdb-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafaanbilal%2Fhyperdb-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafaanbilal%2Fhyperdb-rs/lists"}