{"id":22387378,"url":"https://github.com/martinohmann/vecmap-rs","last_synced_at":"2025-07-31T06:31:42.346Z","repository":{"id":59333747,"uuid":"535985224","full_name":"martinohmann/vecmap-rs","owner":"martinohmann","description":"A vector-based map and set implementation for rust","archived":false,"fork":false,"pushed_at":"2025-07-01T06:23:51.000Z","size":127,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-01T07:27:51.751Z","etag":null,"topics":["collections","map","rust","set"],"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/martinohmann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"martinohmann"}},"created_at":"2022-09-13T06:17:32.000Z","updated_at":"2025-07-01T06:23:53.000Z","dependencies_parsed_at":"2023-12-27T12:28:34.068Z","dependency_job_id":"b4f51867-939e-4667-9967-ec60010fadcb","html_url":"https://github.com/martinohmann/vecmap-rs","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.21999999999999997","last_synced_commit":"68c8afaebfc6b13413449a9254ea5b2a02475741"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/martinohmann/vecmap-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinohmann%2Fvecmap-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinohmann%2Fvecmap-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinohmann%2Fvecmap-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinohmann%2Fvecmap-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinohmann","download_url":"https://codeload.github.com/martinohmann/vecmap-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinohmann%2Fvecmap-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267998062,"owners_count":24178448,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["collections","map","rust","set"],"created_at":"2024-12-05T02:08:58.507Z","updated_at":"2025-07-31T06:31:42.097Z","avatar_url":"https://github.com/martinohmann.png","language":"Rust","funding_links":["https://github.com/sponsors/martinohmann"],"categories":[],"sub_categories":[],"readme":"# vecmap-rs\n\n[![Build Status](https://github.com/martinohmann/vecmap-rs/workflows/ci/badge.svg)](https://github.com/martinohmann/vecmap-rs/actions?query=workflow%3Aci)\n[![crates.io](https://img.shields.io/crates/v/vecmap-rs)](https://crates.io/crates/vecmap-rs)\n[![docs.rs](https://img.shields.io/docsrs/vecmap-rs)](https://docs.rs/vecmap-rs)\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA vector-based ordered map and set implementation with zero dependencies and\nsupport for `#![no_std]`.\n\nMap keys are not required to be hashable and do not need to form a total order.\nTherefore, [`VecMap\u003cK, V\u003e`](https://docs.rs/vecmap-rs/latest/vecmap/map/struct.VecMap.html)\nand [`VecSet\u003cT\u003e`](https://docs.rs/vecmap-rs/latest/vecmap/set/struct.VecSet.html)\ncan be used with key types which neither implement\n[`Hash`](https://doc.rust-lang.org/core/hash/trait.Hash.html) nor\n[`Ord`](https://doc.rust-lang.org/core/cmp/trait.Ord.html).\n\nSince vecmap-rs is a [`Vec\u003c(K, V)\u003e`](https://doc.rust-lang.org/alloc/vec/struct.Vec.html)\nunder the hood, worst case lookup and insertion performance is `O(n)` and\nscales with the number of map entries. Thus, its main use case are small\ncollections with unhashable keys.\n\nFor key types that implement `Hash` and `Ord` consider using a map or set\nimplementation with better performance such as\n[`HashMap`](https://doc.rust-lang.org/std/collections/struct.HashMap.html)/[`HashSet`](https://doc.rust-lang.org/std/collections/struct.HashSet.html)\nand\n[`BTreeMap`](https://doc.rust-lang.org/std/collections/struct.BTreeMap.html)/[`BTreeSet`](https://doc.rust-lang.org/std/collections/struct.BTreeSet.html)\nfrom the standard library or popular alternatives like\n[`IndexMap`](https://docs.rs/indexmap/latest/indexmap/map/struct.IndexMap.html)/[`IndexSet`](https://docs.rs/indexmap/latest/indexmap/set/struct.IndexSet.html).\n\n## Cargo features\n\nThe following features are available:\n\n* `serde`: Provides [`Serialize`](https://docs.rs/serde/latest/serde/ser/trait.Serialize.html)\n  and [`Deserialize`](https://docs.rs/serde/latest/serde/de/trait.Deserialize.html)\n  implementations for `VecMap` and `VecSet`. This feature is disabled by\n  default. Enabling it will pull in `serde` as a dependency.\n\n## License\n\nThe source code of vecmap-rs is licensed under either of [Apache License,\nVersion 2.0](LICENSE-APACHE.md) or [MIT license](LICENSE-MIT) at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinohmann%2Fvecmap-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinohmann%2Fvecmap-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinohmann%2Fvecmap-rs/lists"}