#stark-net #ethereum #web3

no-std starknet-rust-core

Core structures for the starknet crate

4 releases (2 breaking)

Uses new Rust 2024

new 0.19.0-rc.0 Feb 24, 2026
0.17.0 Dec 2, 2025
0.17.0-rc.0 Nov 24, 2025
0.16.0 Nov 26, 2025

#34 in #starknet

Download history 22/week @ 2025-11-22 269/week @ 2025-11-29 1536/week @ 2025-12-06 3810/week @ 2025-12-13 7612/week @ 2025-12-20 8540/week @ 2025-12-27 7181/week @ 2026-01-03 10204/week @ 2026-01-10 8103/week @ 2026-01-17 7090/week @ 2026-01-24 6142/week @ 2026-01-31 6677/week @ 2026-02-07 7775/week @ 2026-02-14 11391/week @ 2026-02-21

32,075 downloads per month
Used in 13 crates (11 directly)

MIT/Apache

1MB
20K SLoC

Starknet data types

// TODO: add starknet-rust-core documentation

Benchmark

These results were generated on the author's machine with Apple M3 Max running macOS 14.5.

For instructions on running the benchmarks yourself, check out this page.

Native

cairo0_class_hash       time:   [9.1665 ms 9.1690 ms 9.1718 ms]
sierra_class_hash       time:   [6.6931 ms 6.6944 ms 6.6958 ms]

WebAssembly

(Results are only provided for wasmtime here. Check out the benchmark page for running the benchmark on other runtimes).

Runtime version:

$ wasmtime --version
wasmtime-cli 21.0.1 (cedf9aa0f 2024-05-22)

wasmtime results:

cairo0_class_hash       time:   [36.515 ms 36.526 ms 36.538 ms]
sierra_class_hash       time:   [22.550 ms 22.557 ms 22.567 ms]

Dependencies

~14MB
~252K SLoC