{"id":20764190,"url":"https://github.com/zitsen/nbits_vec.rs","last_synced_at":"2025-07-19T22:06:11.060Z","repository":{"id":57643726,"uuid":"48084418","full_name":"zitsen/nbits_vec.rs","owner":"zitsen","description":"A crate aims to resolve small bits values storage and operations problem.","archived":false,"fork":false,"pushed_at":"2020-07-21T05:45:11.000Z","size":810,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T00:51:29.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.rs/nbits_vec","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/zitsen.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":"2015-12-16T03:14:41.000Z","updated_at":"2021-12-13T12:08:21.000Z","dependencies_parsed_at":"2022-08-27T22:54:37.416Z","dependency_job_id":null,"html_url":"https://github.com/zitsen/nbits_vec.rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zitsen/nbits_vec.rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Fnbits_vec.rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Fnbits_vec.rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Fnbits_vec.rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Fnbits_vec.rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zitsen","download_url":"https://codeload.github.com/zitsen/nbits_vec.rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Fnbits_vec.rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266026373,"owners_count":23866033,"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-11-17T10:49:07.917Z","updated_at":"2025-07-19T22:06:11.012Z","avatar_url":"https://github.com/zitsen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nbits_vec\n\n[![travis-badge][]][travis] [![release-badge][]][cargo] [![downloads]][cargo]\n[![docs-badge][]][docs] [![license-badge][]][license]\n\nA crate aims to resolve small bits values storage and operations problem.\n\nSmall bits values will be stored in a vector of `Block` - which is a `PrimInt` in\nmemory. Here, we only consider the case that one `Block` will store some of the\nsmall bits values, such as 1, 2, 3, 4, 5 bits stored in `u8`, `u16`, `u32`, `u64`.\n\n**WARN**: In this crate, I([@zitsen](http://github.com/zitsen)) decided to use\n`RawVec` from unstable `alloc` crate as vector background,\nwhich means the API would only be avaliable in `nightly` version of Rust and that\nthe API might be changed in some time the `alloc` API changed.\nSo a `stable` version may never give out.\n\nSee usage in [struct documentation](struct.NbitsVec.html).\n\n[travis-badge]: https://img.shields.io/travis/zitsen/nbits_vec.rs.svg?style=flat-square\n[travis]: https://travis-ci.org/zitsen/nbits_vec.rs\n[release-badge]: https://img.shields.io/crates/v/nbits_vec.svg?style=flat-square\n[downloads]: https://img.shields.io/crates/d/nbits_vec.svg?style=flat-square\n[cargo]: https://crates.io/crates/nbits_vec\n[docs-badge]: https://img.shields.io/badge/API-docs-blue.svg?style=flat-square\n[docs]: https://zitsen.github.io/nbits_vec.rs\n[license-badge]: https://img.shields.io/crates/l/nbits_vec.svg?style=flat-square\n[license]: https://github.com/zitsen/nbits_vec.rs/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzitsen%2Fnbits_vec.rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzitsen%2Fnbits_vec.rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzitsen%2Fnbits_vec.rs/lists"}