{"id":16724306,"url":"https://github.com/badboy/murmurhash64-rs","last_synced_at":"2025-10-23T19:02:13.412Z","repository":{"id":22536199,"uuid":"25876940","full_name":"badboy/murmurhash64-rs","owner":"badboy","description":"MurmurHash2 (64bit version) implementation","archived":false,"fork":false,"pushed_at":"2021-07-18T12:14:52.000Z","size":5253,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T06:22:41.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://badboy.github.io/murmurhash64-rs/murmurhash64/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badboy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-10-28T15:45:31.000Z","updated_at":"2021-10-06T10:21:21.000Z","dependencies_parsed_at":"2022-08-21T07:00:39.791Z","dependency_job_id":null,"html_url":"https://github.com/badboy/murmurhash64-rs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmurmurhash64-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmurmurhash64-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmurmurhash64-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmurmurhash64-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badboy","download_url":"https://codeload.github.com/badboy/murmurhash64-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199080,"owners_count":21063641,"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-10-12T22:44:45.395Z","updated_at":"2025-10-23T19:02:13.320Z","avatar_url":"https://github.com/badboy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MurmurHash2 (64bit) implementation\n\n[![Build Status](https://travis-ci.org/badboy/murmurhash64-rs.svg?branch=master)](https://travis-ci.org/badboy/murmurhash64-rs)\n[![crates.io](http://meritbadge.herokuapp.com/murmurhash64)](https://crates.io/crates/murmurhash64)\n\nBased on the implementation for Redis\n([antirez/redis src/hyperloglog.c](https://github.com/antirez/redis/blob/93eed9ae0163e328c33b16ab9ea3c4fbe0f98674/src/hyperloglog.c#L390-L439))\n\nMore info and different implementations available at:\n\u003chttps://sites.google.com/site/murmurhash/\u003e\n\n[Documentation](http://badboy.github.io/murmurhash64-rs/murmurhash64/)\n\n## Build\n\n```\ncargo build --release\n```\n\n## Usage\n\n```rust\nuse murmurhash64::murmur_hash64a;\n\nfn main() {\n    let key = \"Pizza \u0026 Mandolino\";\n    let seed = 2915580697;\n\n    let hash = murmur_hash64a(key.as_bytes(), seed);\n}\n\n```\n\nAs a `Hasher`\n\n```rust\nuse std::collections::HashMap;\nuse murmurhash64::{MurmurHasher,RandomMurmurState};\nuse std::default::Default;\n\nfn main() {\n    let mut hashmap : HashMap\u003c_, _, RandomMurmurState\u003e = Default::default();\n    hashmap.insert(\"abc\", 123);\n    hashmap.insert(\"def\", 456);\n    assert_eq!(Some(\u0026123), hashmap.get(\"abc\"));\n    assert_eq!(Some(\u0026456), hashmap.get(\"def\"));\n}\n```\n\n## Tests\n\nRun tests with:\n\n```\ncargo test\n```\n\n## Contribute\n\nIf you find bugs or want to help otherwise, please [open an issue](https://github.com/badboy/murmurhash64-rs/issues).\n\n## License\n\nBSD. See [LICENSE](LICENSE).  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Fmurmurhash64-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadboy%2Fmurmurhash64-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Fmurmurhash64-rs/lists"}