genindex

Crates.iogenindex
lib.rsgenindex
version0.2.2
sourcesrc
created_at2024-03-20 05:39:07.755887
updated_at2024-04-12 23:26:03.336165
descriptionGenerational index library
homepagehttps://github.com/andykswong/muds
repositoryhttps://github.com/andykswong/muds
max_upload_size
id1180011
size22,598
Andy K. S. Wong (andykswong)

documentation

https://docs.rs/muds

README

genindex

license: MIT Crates.io docs.rs build

Overview

genindex is a no-std library for generational index, which is a number encoded as index + generation value. It is mainly used as a weak reference to array values. The generation part allows indices to be reused without suffering from ABA problem, so that data can be safely stored in a packed array.

Install

[dependencies]
genindex = "0.2"

Features:

  • serde - enables serde serialize/deserialize implementations of collections and indices

Documentation

See Docs.rs: https://docs.rs/genindex

License

This repository and the code inside it is licensed under the MIT License. Read LICENSE for more information.

Commit count: 36

cargo fmt