{"id":30110275,"url":"https://github.com/danvratil/zetasketch-rs","last_synced_at":"2025-08-10T04:23:23.162Z","repository":{"id":308751896,"uuid":"1033890446","full_name":"danvratil/zetasketch-rs","owner":"danvratil","description":"Rust port of the Google Zetasketch library","archived":false,"fork":false,"pushed_at":"2025-08-07T17:24:25.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-07T18:26:41.643Z","etag":null,"topics":["google","hyperloglog","hyperloglog-sketches","hyperloglogplus","rust","zetasketch"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/zetasketch-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/danvratil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2025-08-07T14:01:31.000Z","updated_at":"2025-08-07T17:24:29.000Z","dependencies_parsed_at":"2025-08-07T18:43:28.792Z","dependency_job_id":null,"html_url":"https://github.com/danvratil/zetasketch-rs","commit_stats":null,"previous_names":["danvratil/zetasketch-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/danvratil/zetasketch-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvratil%2Fzetasketch-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvratil%2Fzetasketch-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvratil%2Fzetasketch-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvratil%2Fzetasketch-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danvratil","download_url":"https://codeload.github.com/danvratil/zetasketch-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvratil%2Fzetasketch-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269676676,"owners_count":24457843,"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-10T02:00:08.965Z","response_time":71,"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":["google","hyperloglog","hyperloglog-sketches","hyperloglogplus","rust","zetasketch"],"created_at":"2025-08-10T04:23:22.099Z","updated_at":"2025-08-10T04:23:23.141Z","avatar_url":"https://github.com/danvratil.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZetaSketch RS\n\nA native Rust re-implementation of the\n[Zetasketch](https://github.com/google/zetasketch) Java library by Google.\n\nThe ZetaSketch library provides an implementation of the HyperLogLog++\nalgorithm used by several Google Cloud products, most notably BigQuery and\nBigTable.\n\nThis library allows deserializing, modifying and serializing the HyperLogLog++\nsketches used by these products.\n\nYou can learn more details about ZetaSketch and its HyperLogLog++\nimplementation in the\n[README in the original\nlibrary](https://github.com/google/zetasketch/blob/master/README.md).\n\nThis reimplementation is based on version 0.1.0 of the original library, which\nis the only version published.\n\n## Compatibility\n\nThis library was implemented as a translation of the original Java code into\nRust, then refined here and there to improve performance and to be more\nidiomatic. It strives to be 100% compatible with the Java library, which means\nthat for identical inputs, it should produce 100% identical sketches as the\nJava library. Any deviation should be considered a bug.\n\nWe are using the [`j4rs`](https://github.com/astonbitecode/j4rs) crate for testing,\nwhich allows to call us the original Java library from our Rust tests and compare\nthe behavior of both libraries.\n\n## Sponsorship\n\nPorting the code over from Java to Rust was a fair bit of work that took me a fair\nbit of time. If you find this library useful, please consider donating to help me\nwork on other similar projects in the future. Thank you!\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file\nfor details.\n\nThe original library is licensed under the Apache License 2.0.\n\n\u003e [!NOTE]\n\u003e This project is in no way affiliated with or endorsed by Google.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvratil%2Fzetasketch-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanvratil%2Fzetasketch-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvratil%2Fzetasketch-rs/lists"}