bimap-rs

Generic bijective maps in Rust (by billyrieger)

Bimap-rs Alternatives

Similar projects and alternatives to bimap-rs based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better bimap-rs alternative or higher similarity.

bimap-rs reviews and mentions

Posts with mentions or reviews of bimap-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-26.
  • BTreeMap but sorted by value?
    1 project | /r/rust | 4 Jan 2023
    Your requirements may be slightly different, but you could take a look at how e.g. bimap does it.
  • Announcing MultiIndexMap: A generic multi-index map inspired by cpp-boost's multi-index containers
    2 projects | /r/rust | 26 Aug 2022
    `multi_index_map` is designed to allow storage and retrieval of data through multiple indexes, along the lines of in-memory relational database. This is useful in a few situations, notably when you want to implement structures like a bi-directional map (ie. searchable either for key or value), or sets with multiple iteration orders. There exist great crates for bi-directional maps already eg. [bimap-rs](https://github.com/billyrieger/bimap-rs/), however MultiIndexMap goes further and removes the distinction between key and value, such that as many keys as necessary can be added and searched for. Multiple iteration orders can be specificed using multiple `ordered_unique` keys, and iterating by these keys. Non-unique keys are also supported, so more than one element can be retrieved from a single lookup. This crate was inspired by [Boost's C++ Multi-Index Containers](https://www.boost.org/doc/libs/1\_80\_0/libs/multi\_index/doc/index.html), but completely redesigned for a more idiomatic Rust API. We've got to v0.4.0 now, and the main features have been fleshed out enough for me to feel comfortable announcing this. There is still lots to do, and I'm welcoming PRs from anyone who wishes to contribute. The [Future Work](https://github.com/lun3x/multi\_index\_map#future-work) section explains the general direction I am planning on going in.

Stats

Basic bimap-rs repo stats
2
125
1.6
7 months ago

billyrieger/bimap-rs is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of bimap-rs is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com