#starknet #type-safety #ethereum #web3

pathfinder-tagged

Type tagging utilities for the Pathfinder Starknet node implementation

2 unstable releases

new 0.1.0 Feb 7, 2025
0.0.1 Jan 27, 2025

#128 in Magic Beans

Download history 92/week @ 2025-01-26 75/week @ 2025-02-02

167 downloads per month
Used in 3 crates (via pathfinder-common)

MIT/Apache

11KB
192 lines

Tagging is meant to be used in tests only, but because [cfg(test)] cannot be exported we're using the closest build configuration option within the implementation, which is [cfg(debug_assertions)]. As an additional safety measure, the tagged::init() function must be called before using the tagged::Tagged type.

Dependencies

~1.4–2MB
~39K SLoC