#vec #index #collection

atom_table

Assign easy-to-handle typed IDs to large, hard to handle things like strings

2 stable releases

1.1.0 Mar 8, 2023
1.0.0 Mar 8, 2023

#230 in #vec

Download history 6/week @ 2024-05-17 2/week @ 2024-05-24 18/week @ 2024-05-31 5/week @ 2024-06-07 5/week @ 2024-06-14 16/week @ 2024-07-05 2/week @ 2024-07-12 57/week @ 2024-07-26

75 downloads per month

MIT/Apache

27KB
476 lines

Atom Table for Rust

Crates.io docs.rs REUSE status

A simple data structure, allowing you to refer to "hard to handle" values by "easy to handle" IDs, with lookups in both directions. I imagine such a crate already exists but using a name I do not know, so here is mine anyway.

Development and contribution

I try to keep the test coverage high because this is a simple data structure and it should be possible to easily exercise it all.

To generate a local test coverage report as HTML:

cargo xtask coverage --dev

To generate the coverage in lcov format for (presumably) your editor to use:

cargo xtask coverage

To run most of the CI checks that will take place:

cargo xtask ci

License

Licensed under either of the Apache License, Version 2.0 or the MIT license at your option.

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

This software conforms to the REUSE specification.

Dependencies

~155–260KB