intid-derive

Crates.iointid-derive
lib.rsintid-derive
version0.3.1
created_at2025-07-26 09:16:08.497867+00
updated_at2025-09-21 00:46:54.71495+00
descriptionProcedural macros for the intid crate (prefer re-exports in intid)
homepage
repositoryhttps://github.com/DuckLogic/intid.rs
max_upload_size
id1768944
size34,101
(Techcable)

documentation

README

intid.rs Crates.io Documentation

A set of libraries and data structures for operating on integer-like ids. Supports the common rust pattern of wrapping integer ids in newtypes.

The idmap crate provides a strongly typed wrapper around a Vec<Option<V>> lookup table (DirectIdMap) and a similar wrapper around a bitset (DirectIdSet).

The intid-allocator crate provides a way to efficiently track and reuse unused ids, minimizing a memory needed for lookup tables.

The intid crate defines the foundational IntegerId trait. Enabling the derive feature adds a derive macro.

License

Licensed under either the Apache 2.0 License or MIT License at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 111

cargo fmt