rta-derive 0.2.0

Macro implementation for Ṛta
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# `rta-derive`

Procedural macro implementation for `#[derive(RTA)]`

## `RTA`

It computes a size of `T` and a deterministic hash(u64) at _compile time_ for given struct `T` using,

- name of `T`
- ordered list of field types in `T`

The generated hash is intended for type identity and layout fingerprinting

> [!CAUTION]
> the `HASH` is not cryptographically secure, and not ment to be either ;)