8 releases

Uses new Rust 2024

new 0.1.3 Feb 1, 2026
0.1.2 Dec 25, 2025
0.1.1 Nov 21, 2025
0.0.3 Aug 7, 2025
0.0.2 Jul 27, 2025

#23 in #primitive-integer

Download history 325/week @ 2025-10-13 267/week @ 2025-10-20 152/week @ 2025-10-27 199/week @ 2025-11-03 137/week @ 2025-11-10 224/week @ 2025-11-17 187/week @ 2025-11-24 106/week @ 2025-12-01 153/week @ 2025-12-08 192/week @ 2025-12-15 63/week @ 2025-12-22 24/week @ 2025-12-29 121/week @ 2026-01-05 142/week @ 2026-01-12 177/week @ 2026-01-19 242/week @ 2026-01-26

685 downloads per month
Used in 2 crates (via moverox)

MIT/Apache

78KB
1.5K SLoC

Traits for rusty Move types and their type tags.

The core items are MoveType and MoveTypeTag. These are useful trait bounds to use when dealing with generic off-chain Move type representations. They are implemented for the primitive types that correspond to Move's primitives (integers/bool).

For Move structs, MoveDatatype should be used as it has an associated MoveDatatypeTag. The MoveDatatype derive macro is exported for automatically creating a MoveDatatypeTag implementation from normal Rust struct declarations.


Traits for rusty Move types and their type tags.

The core items are MoveType and MoveTypeTag. These are useful trait bounds to use when dealing with generic off-chain Move type representations. They are implemented for the primitive types that correspond to Move's primitives (integers/bool).

For Move structs, MoveDatatype should be used as it has an associated MoveDatatypeTag. The MoveDatatype derive macro is exported for automatically creating a MoveDatatypeTag implementation from normal Rust struct declarations.

Dependencies

~1.4–2.2MB
~51K SLoC