Crates.io | deepmesa-collections |
lib.rs | deepmesa-collections |
version | 0.14.0 |
created_at | 2021-05-25 17:20:34.45413+00 |
updated_at | 2025-09-20 03:22:20.149924+00 |
description | A collection of data structures and algorithms designed for performance |
homepage | https://www.arrsingh.com/deepmesa-collections |
repository | https://github.com/deepmesa/collections-rs |
max_upload_size | |
id | 401914 |
size | 577,121 |
A Rust crate providing fundamental data structures with zero external dependencies.
DeepMesa Collections provides:
Add to your Cargo.toml
:
[dependencies]
deepmesa-collections = "^0.*.*"
use deepmesa_collections::{LinkedHashMap, LinkedList, BitVector};
use deepmesa_collections::lhmap::Order;
// LinkedHashMap with access order
let mut map = LinkedHashMap::new(16, Order::AccessOrder, None);
map.put("key1", "value1");
map.put("key2", "value2");
// LinkedList with handle-based access
let mut list = LinkedList::with_capacity(100);
let handle = list.push_back(42);
list.insert_after(&handle, 84);
// BitVector with macro support
let mut bits = bitvector![1, 0, 1, 1, 0, 1];
bits.push(true);
let (value, count) = bits.read_u8(0);
The project uses just
for build automation:
# Build all components
just build
# Run comprehensive test suite
just test
# Generate documentation
just doc
# Clean build artifacts
just clean
Run specific test categories:
# Run all tests with backtrace
RUST_BACKTRACE=1 cargo test
# Run specific module tests
cargo test bitvec::tests --nocapture
# Run documentation tests
cargo test --doc
Contributions in any form (suggestions, bug reports, pull requests, and feedback) are welcome. If you've found a bug, you can submit an issue or email me at rsingh@arrsingh.com.
This project is dual-licensed under the MIT LICENSE or the Apache-2 LICENSE:
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Contact: rsingh@arrsingh.com Website: https://www.arrsingh.com/deepmesa-collections