{"id":16376627,"url":"https://github.com/udoprog/uniset","last_synced_at":"2026-03-16T23:31:40.258Z","repository":{"id":57671098,"uuid":"241351463","full_name":"udoprog/uniset","owner":"udoprog","description":"A hierarchical growable bitset which supports in-place atomic operations","archived":false,"fork":false,"pushed_at":"2024-12-28T00:59:14.000Z","size":44,"stargazers_count":7,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T09:08:10.865Z","etag":null,"topics":["bitset","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udoprog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2020-02-18T12:07:48.000Z","updated_at":"2024-12-28T00:59:18.000Z","dependencies_parsed_at":"2024-03-03T15:32:21.970Z","dependency_job_id":"29ccf975-a0c2-4afb-bd09-0f655ee0621f","html_url":"https://github.com/udoprog/uniset","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"1bab6814be21406be6069ea775bde63de22664dd"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udoprog%2Funiset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udoprog%2Funiset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udoprog%2Funiset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udoprog%2Funiset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udoprog","download_url":"https://codeload.github.com/udoprog/uniset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822310,"owners_count":20353498,"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":["bitset","rust"],"created_at":"2024-10-11T03:25:25.805Z","updated_at":"2026-03-16T23:31:40.252Z","avatar_url":"https://github.com/udoprog.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uniset\n\n[\u003cimg alt=\"github\" src=\"https://img.shields.io/badge/github-udoprog/uniset-8da0cb?style=for-the-badge\u0026logo=github\" height=\"20\"\u003e](https://github.com/udoprog/uniset)\n[\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/uniset.svg?style=for-the-badge\u0026color=fc8d62\u0026logo=rust\" height=\"20\"\u003e](https://crates.io/crates/uniset)\n[\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/badge/docs.rs-uniset-66c2a5?style=for-the-badge\u0026logoColor=white\u0026logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K\" height=\"20\"\u003e](https://docs.rs/uniset)\n[\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/udoprog/uniset/ci.yml?branch=main\u0026style=for-the-badge\" height=\"20\"\u003e](https://github.com/udoprog/uniset/actions?query=branch%3Amain)\n\nA hierarchical, growable bit set with support for in-place atomic\noperations.\n\nThe idea is based on [hibitset], but dynamically growing instead of having a\nfixed capacity. By being careful with the underlying data layout, we also\nsupport structural sharing between the [local] and [atomic] bitsets.\n\n\u003cbr\u003e\n\n## Examples\n\n```rust\nuse uniset::BitSet;\n\nlet mut set = BitSet::new();\nassert!(set.is_empty());\nassert_eq!(0, set.capacity());\n\nset.set(127);\nset.set(128);\nassert!(!set.is_empty());\n\nassert!(set.test(128));\nassert_eq!(vec![127, 128], set.iter().collect::\u003cVec\u003c_\u003e\u003e());\nassert!(!set.is_empty());\n\nassert_eq!(vec![127, 128], set.drain().collect::\u003cVec\u003c_\u003e\u003e());\nassert!(set.is_empty());\n```\n\n[issue #1]: https://github.com/udoprog/unicycle/issues/1\n[hibitset]: https://docs.rs/hibitset\n[local]: https://docs.rs/uniset/latest/uniset/struct.BitSet.html\n[atomic]: https://docs.rs/uniset/latest/uniset/struct.AtomicBitSet.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudoprog%2Funiset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudoprog%2Funiset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudoprog%2Funiset/lists"}