{"id":17127569,"url":"https://github.com/cmazakas/minivec","last_synced_at":"2025-03-22T15:07:58.876Z","repository":{"id":45631060,"uuid":"272846044","full_name":"cmazakas/minivec","owner":"cmazakas","description":"A space-optimized implementation of std::vec::Vec","archived":false,"fork":false,"pushed_at":"2024-09-22T18:08:30.000Z","size":247,"stargazers_count":33,"open_issues_count":8,"forks_count":9,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-14T17:07:53.141Z","etag":null,"topics":["container","rust","rust-lang","vec","vector"],"latest_commit_sha":null,"homepage":"https://docs.rs/minivec/latest/minivec/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmazakas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.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}},"created_at":"2020-06-17T01:05:17.000Z","updated_at":"2024-12-23T22:13:05.000Z","dependencies_parsed_at":"2024-10-31T00:02:27.154Z","dependency_job_id":"2f826bed-17b5-4bcf-a5f3-431f1494466b","html_url":"https://github.com/cmazakas/minivec","commit_stats":null,"previous_names":["leonineking1199/minivec"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmazakas%2Fminivec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmazakas%2Fminivec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmazakas%2Fminivec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmazakas%2Fminivec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmazakas","download_url":"https://codeload.github.com/cmazakas/minivec/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244843284,"owners_count":20519779,"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":["container","rust","rust-lang","vec","vector"],"created_at":"2024-10-14T19:04:55.078Z","updated_at":"2025-03-22T15:07:58.843Z","avatar_url":"https://github.com/cmazakas.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniVec\n\n`std::vec::Vec` is a cool class but it's just too big! `MiniVec` is only the size of a pointer.\n\n## Acknowledgements\n\nThis library is dedicated to the great Glen Joseph Fernandes whose constant tutelage has been\ninstrumental in making me the programmer that I am.\n\nWe would also like to thank the following for their contributions:\n* [DoumanAsh](https://github.com/DoumanAsh)\n* [hbina](https://github.com/hbina)\n* [berkus](https://github.com/berkus)\n* [Plecra](https://github.com/Plecra)\n\n## Why use an alternative to `std::vec::Vec`?\n\nIt's an interesting choice to replace a container as ubiquitous as `Vec` with an alternative implementation.\n\nFor that reason, it's not a wise design choice to use `MiniVec` itself in public interfaces as it'll create\nfriction with the rest of the ecosystem. Instead, `MiniVec` is ideal for internal implementation details.\n\nIts smaller size penalizes users less for using it as a data member and it can expose some Nightly `Vec` APIs\nin a stable way. It also contains myriad extensions to the standard `Vec` interface and the project aims to be\ncommunity-driven, i.e. any feature a user wants, they're likely to have their PR merged.\n\nTo be competetive performance-wise with the standard library, we must use several currently Nightly features.\nNamely, specialization and access to other intrinsics. To compile `MiniVec` with such optimizations, one must use:\n```console\ncargo +nightly build --features minivec_nightly\n```\n\n[Serde](https://crates.io/crates/serde) is similarly supported via:\n```console\ncargo build --features serde\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmazakas%2Fminivec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmazakas%2Fminivec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmazakas%2Fminivec/lists"}