intid-core

Crates.iointid-core
lib.rsintid-core
version0.3.0
created_at2025-09-16 20:52:46.847815+00
updated_at2025-09-21 00:26:22.917827+00
descriptionDefines the IntegerId trait without a dependency on intid_derive
homepage
repositoryhttps://github.com/DuckLogic/intid.rs
max_upload_size
id1842366
size41,775
(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