{"id":15048079,"url":"https://github.com/github/rust-gems","last_synced_at":"2025-04-04T20:03:12.718Z","repository":{"id":227351649,"uuid":"703464303","full_name":"github/rust-gems","owner":"github","description":"A collection of rust algorithms and data structures","archived":false,"fork":false,"pushed_at":"2025-03-26T08:25:12.000Z","size":35217,"stargazers_count":57,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-26T08:35:02.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-11T09:43:38.000Z","updated_at":"2025-03-26T08:25:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a1bd7b1-b5fc-4658-bd48-b45aa05317e3","html_url":"https://github.com/github/rust-gems","commit_stats":{"total_commits":124,"total_committers":6,"mean_commits":"20.666666666666668","dds":"0.33870967741935487","last_synced_commit":"9c723ea82ce9064ddbde8ac32eb4e823c9b403fb"},"previous_names":["github/rust-gems"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frust-gems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frust-gems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frust-gems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frust-gems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/rust-gems/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242658,"owners_count":20907131,"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-09-24T21:07:55.735Z","updated_at":"2025-04-04T20:03:12.680Z","avatar_url":"https://github.com/github.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Algorithms\n\nA collection of useful algorithms written in Rust. Currently contains:\n\n- [`geo_filters`](crates/geo_filters): probabilistic data structures that solve the [Distinct Count Problem](https://en.wikipedia.org/wiki/Count-distinct_problem) using geometric filters.\n- [`bpe`](crates/bpe): fast, correct, and novel algorithms for the [Byte Pair Encoding Algorithm](https://en.wikipedia.org/wiki/Large_language_model#BPE) which are particularly useful for chunking of documents.\n- [`bpe-openai`](crates/bpe-openai): Fast tokenizers for OpenAI token sets based on the `bpe` crate.\n- [`string-offsets`](crates/string-offsets): converts string positions between bytes, chars, UTF-16 code units, and line numbers. Useful when sending string indices across language boundaries.\n\n## Background\n\n**Rust Algorithms** is under active development and maintained by GitHub staff **AND THE COMMUNITY**.\nSee [CODEOWNERS](CODEOWNERS) for more details.\n\nWe will do our best to respond to support, feature requests, and community questions in a timely manner.\nFor more details see [support](SUPPORT.md) and [contribution](CONTRIBUTING.md) guidelines.\n\n## Requirements\n\nRequires a working installation of Rust [through download](https://www.rust-lang.org/learn/get-started) | [through Homebrew](https://formulae.brew.sh/formula/rustup-init)\n\n## License\n\nThis project is licensed under the terms of the MIT open source license. Please refer to [MIT](LICENSE) for the full terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Frust-gems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Frust-gems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Frust-gems/lists"}