Plain Data Structures
A set of simple data structures that have proven useful in my projects. Expanded as needed.
Installation
Add to your Cargo.toml:
[]
= "0.2"
Or via cargo add:
What's new in last version?
[0.2.2] - 2026-02-27
Fixed
- fixes visibility of some methods
Overview
As already mentioned, plain-ds is a set of simple data structures (DS) that have proven useful in my projects.
These data structures may not be the most efficient and productive solutions, but they have proven to be appropriate
in certain specific situations for various reasons. I plan to expand this set as needed, as well as improve the quality
and efficiency of existing DS.
Key principles:
- Reliability: Bugs free code you can trust.
- Safety: Predictable memory consumption. No memory leaks.
- Quality and hi-coverage of testing: Completeness and thoughtfulness of tests.
- Clarity: Detailed error messages and up-to-date documentation.
What has already been implemented?
SinglyLinkedList- singly-linked list implementationSortedList- sorted list implementation
Contributing
We welcome:
- Bug reports
- Feature requests
- Documentation improvements
Contact & Links
- Repository: https://github.com/dvshapkin/plain-ds
- Issues: https://github.com/dvshapkin/plain-ds/issues
- Documentation: https://docs.rs/plain-ds